command to create the new branch and switch to it code example Example: how to make new branch and switch in git git checkout -b myNewBranch