`init.defaultBranch` was introduced in git 2.28.0 (July 2020). It allows configuring the default branch name for new repositories (e.g. set to `main` instead of `master`). Set globally with `git config --global init.defaultBranch main`. git versions before 2.28 always create `master` regardless of config.