Git - Configuration and Aliases
You tried to set the default branch name with
git config --global init.defaultbranch main but new repos still use 'master'. What is the problem?