Added fn to get git branch.