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