How you can see list of all branches in Git?

There are various Git commands to list branches:

List all branches in local and remote Git repositories:
git branch -a

List all branches and along with commits as follows:
git show-branch

List only local Git branches
git branch

Learn more about the similar topics:
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.