git branch -a

Category: Git - Core

git branch -a

List all local and remote branches

Lists both local branches and remote-tracking branches. -a means 'all'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.