11/10/2016
To get the current branch of a Git repository.
git show-branch
$ git show-branch [master]
Git