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