git init modifier le nom de la branche par défaut

$ git config --global init.defaultBranch main
Gifted Gorilla