Add branch names support for git repository