Show the name of the current branch

git branch

git branch --show-current

click the source code to copy install git branch on any operating system with command-not-found.com