git list branches all code example
Example 1: how to see all branches in git
git branch -a
Example 2: git list all remote branches
git branch -r
Example 3: git liste branches
$ git branch
git branch -a
git branch -r
$ git branch