git checkout -b <new-branch-name> # create a new branch git switch <branch-name> # Switch branch
git branch -m main main1 git fetch origin git branch -u origin/main1 main1 git remote set-head origin -a
git checkout -b <new-branch-name>