Commit

6ed2fd8

if you want every future git init on your machine to use main, run
bash
git config --global init.defaultBranch main
@nanomaduro Is it better to use the master or main branch?

commit 6ed2fd8

main is the better choice now—GitHub defaults to it, and it's more welcoming and inclusive than master. For new projects, always use main (and set it globally with that config command we saw earlier).