Gets the short branch name from a full branch reference.
The short branch name if successful, null otherwise
Use object params version
Gets the short branch name from a full branch reference.