Related: git, GitHub and GitLab switched the default branch name from master to main.
- https://github.blog/changelog/2020-10-01-the-default-branch-...
- https://about.gitlab.com/blog/2021/03/10/new-git-default-bra...
- https://github.blog/changelog/2020-10-01-the-default-branch-...
- https://about.gitlab.com/blog/2021/03/10/new-git-default-bra...
However, recent versions come with "main" as the default.
And since 2.28, released more than a year ago, we have the option to change the default:
git config --global init.defaultBranch main