List branches

git branch

or

git branch --list

This command lists all the branches in the current repository. It shows the current branch you're on and highlights it with an asterisk.