inherit git_branch if the dependency project has a branch or tag by that name