Gets the name of the given local or remote branch.
a Branch.
the name of the given local or remote branch or null.