Complete the command to set the default branch name globally to 'main'.
git config --global init.[1] mainThe correct git config key to set the default branch name is init.defaultBranch.
Complete the command to check the current global default branch name configuration.
git config --global --get init.[1]The key to get the default branch name is init.defaultBranch.
Fix the error in the command to set the default branch name to 'main' globally.
git config --global init.[1] mainThe correct key is init.defaultBranch. Other keys cause git to ignore or error.
Fill both blanks to set the default branch name to 'main' only for the current repository.
git config [1] init.[2] main
Use --local to set config for current repo and init.defaultBranch as the key.
Fill all three blanks to unset the default branch name configuration globally.
git config [1] --unset init.[2]
To remove the global default branch name, use --global and the key init.defaultBranch.