diff --git a/docs/3.setting_up_git.md b/docs/3.setting_up_git.md index a43b343..f40c80f 100644 --- a/docs/3.setting_up_git.md +++ b/docs/3.setting_up_git.md @@ -44,6 +44,9 @@ On a command line, Git commands are written as `git verb options`, where `verb` ``` !!! code-branch "Configuring Default Branch name to `main` ( not needed for MacOS)" + + In 2020, most Git code hosting services transitioned to using main as the default branch. As an example, any new repository that is opened in GitHub and GitLab default to main. However, Git has not yet made the same change. As a result, local repositories must be manually configured have the same main branch name as most cloud services + ```bash git config --global init.defaultBranch main ```