%%[[GitHub]] [[Git]]%%
## Update local clone
Everyone who has a clone of the affected repo will need to run these commands to fully make the switch over to the `main` branch:
```
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
```