Simplify __git_branch_name

Signed-off-by: David Celis <me@davidcel.is>