added support for git reference repos