https://bud.agency/rename-master-branch-main-git-gitlab/
Sep 28, 2023 - Rename the Git master repository with ease! The community has been transitioning to using the term "main" to describe the default branch. You should...
renamemasterbranchmaingit
https://shareup.app/blog/migrating-git-repos-away-from-a-master-branch-without-breaking-anyones-local-clones/
Going from “master” to “main”
appmigratinggitreposaway