Commit

026bcb4

if you want every future git init on your machine to use main, run
bash
git config --global init.defaultBranch main
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).
Why was it changed to main? What was the issue with master?

commit 026bcb4

The "master" name carried old-school vibes of hierarchy and control—like a strict "master" ruling everything. It felt outdated and a bit elitist for today's inclusive tech world. "Main" feels more neutral and welcoming, so GitHub and many projects switched to it around 2020 to…