Add git_branch_name()

The git branch API seems to abstract abstract the ref prefixes of branches. But I haven't found a way to get the name of a branch without manually skipping the ref prefixes. This is a suggestion to add the function git_branch_name() to the API which analogously to the rest of the branch API abstract away skipping the ref prefixes.