Change git init starting branch name from master to main in macOS Terminal
Why?
In October 2020, GitHub announced that it had permanently set the default branch name to main instead of master. New repositories would see their first branch named "main."
Bitbucket and GitLab have adopted the change too.
Xcode made the change ...
unwrapthis.hashnode.dev3 min read