how to check with branch is useed git command code example Example: how to see all branches in git git branch -a