[git] add alias to get current branch name

This is useful for scripting