git checkout -f yourbranch git branch -M yourNewBranch
git checkout [ -b | master | main | -f ]
git checkout
-b
master | main | -f
Advertising: