how to check which branch is latest git code example Example: how to see all branches in git git branch -a