how to change the default git branch to main from master code example Example: set the default branch to main git config --global init.defaultBranch main