Git
Main

In October 2020 GitHub changed the terminology so that master is named main.

If you wish that Gitbash will also create a branch named main, when you init a repo, you can execute below command
git config --global init.defaultBranch main



Toggle Menu