git get br code example Example 1: how to see all branches in git Click to copygit branch -a Example 2: git get local branches Click to copygit branch -l