Git Default Branch Name

If you easily want to have your main branch in a new git repository named something different than master, git 2.28 has you covered with a new config option init.defaultBranch. It doesn’t mess with existing repositories.