how to see all git branches command code example Example: how to see all branches in git git branch -a