command to switch to master branch in git code example Example: git switch branch git switch <branch_name> git checkout <branch_name>