InterFormNG2 is not limited to a single repository i.e. a single main folder with sub-folder for each of the object types, that you can store in the Library.
It is possible to setup a prioritized list of repositories for where InterFormNG2 is to search for the referenced resources.
You can setup multiple repositories via the tenant properties (manage tenants) defined on the system setttings.
Support for Github repositories is covered in this section: Github repositories as resources.