how to set up default main branch in git from terminal code example Example: set the default branch to main git config --global init.defaultBranch main