When you rename a branch on GitHub, any URLs that contain the old branch name are automatically redirected to the equivalent URL for the renamed branch. Branch protection policies are also updated, as well as the base branch for open pull requests (including those for forks) and draft releases. After the rename is complete, GitHub provides instructions on the repository's home page directing contributors to update their local Git environments.
TODO:
[x] Change the name of the default branch in GitHub settings
Our Code of Conduct includes a note on inclusive language, and changing the name of the default branch is part of upholding that value.
In the GitHub documentation about renames: https://docs.github.com/en/github/administering-a-repository/renaming-a-branch
TODO: