As you may or may not know, gists are actually Git repositories. New gists are now created with a default branch name of either
main or the alternative default branch name you've defined in your user settings. This matches how other repositories are created on GitHub.
- More information about default branches
- How to change the default branch name for new repositories
- Learn more about the branch renaming effort in the github/renaming repository