git branch
git branch <branchName>
git checkout <branchName>
git checkout -b "<branchName>"
git remote show origin
rm -fr .git
- update the main or master branch ( git pull (switch into the main branch if not onto it -git checkout ) )
- merge with the main or master branch
-
git checkout <main/master> git pull git checkout <intendedBranch> git merge <main/master>