Added convenience get_git_branch method/var