SyntaxFix
Write A Post
Hire A Developer
Questions
To display the current branch you're on, without the other branches listed, you can do the following:
git rev-parse --abbrev-ref HEAD
Reference: