Instantly share code, notes, and snippets.
Based on Git: Renaming the "master" branch
git branch -m master main git push -u origin main