how to list out local git branches code example Example: how to see all branches in git git branch -a