oldBranch is now named main git branch -m oldBranch main git fetch origin git branch -u origin/main main git remote set-head origin -a