how to switch brach git command code example Example 1: git change branch $ git branch iss53 $ git checkout iss53 Example 2: sitch a branch command line $ git branch