Change git init default branch to main Published at 3 August 2022 #git SHELL$ git config --global init.defaultBranch main