Looks like `git_branch_name` follows basically the same logic as `git_reference_shorthand`, so this code would remain the same anyways.