git checkout -b <new-branch-name> # create a new branch
git switch <branch-name> # Switch branch
git branch <branchname>
(or)
git checkout -b <branchname>
git branch -m main main1
git fetch origin
git branch -u origin/main1 main1
git remote set-head origin -a
The best way to learn about git flow is on the website:
https://stackoverflow.com/questions/47935457/when-to-create-release-branch-in-git-flow
git checkout -b <new-branch-name>