Add git_get_branch command, copied from git_aware_prompt