changed parse_git_branch to only print branch name