title: How can I get my local git installation to default to main branch instead of master?
body: <p>I use github and the built-in git installation on my macbook. Recently, github has changed its default branch from master to main. However, my local git running from terminal still defaults to master.</p>
  <pre><code>(base) Odins-MacBook-Pro:~ odin$ cd git
  (base) Odins-MacBook-Pro:git odin$ mkdir hello
  (base) Odins-MacBook-Pro:git odin$ cd hello
  (base) Odins-MacBook-Pro:hello odin$ git init
  Initialized empty Git repository in /Users/odin/git/hello/.git/
  (base) Odins-MacBook-Pro:hello odin$ git status
  On branch master
  
  No commits yet
  </code></pre>
  <p>How can I change my template/configuration so that git status returns <strong>On branch main</strong>?</p>