Configuring default branch name
There is one last thing to configure before we can start working with Git: setting the default branch name.
In the past, the universal default used to be master. However, in 2020, GitHub, GitLab, Bitbucket, and other platforms started to change the default name to main. This was done to remove any connotations of slavery from otherwise neutral terms.



As someone who grew up amid the ruins of the Soviet Union, watching too many Kung Fu movies, I can attest that the term master doesn't necessarily have negative connotations.
However, it's super easy to change the default branch name in Git. So if this change helps someone feel more comfortable, I'm all for it.
If anything, it will help avoid confusion when working with remote repositories hosted on many popular platforms such as GitHub.
To change the default branch name to main, run the following command in your terminal:
git config --global init.defaultBranch mainSet your default branch name to main using the command above.
Great! Everything seems to be ready now.
Next step