git switch BranchToChange git switch -
git switch -c main
git checkout
git restore
git branch
Move existing, uncommitted work to a new branch in git
git switch
Advertising: