make and switch to new branch code example Example: git switch branch to another branch git checkout <name>