title: I want to push my code to github on the main branch not on the master branch
body: <p>I have a folder with code files. I wanted to push them to github using git. This is what I've done:</p>
  <ol>
  <li><p>I created a new repository on github.</p>
  </li>
  <li><p>I initialized a git repo in my local directory.</p>
  </li>
  <li><p>I staged my files.</p>
  </li>
  <li><p>I made my initial commit.</p>
  </li>
  <li><p>Then I run-
  <code>git remote add origin https://github.com/Lamphrangmi-Lamin/Bootcamp-Survey.git</code></p>
  </li>
  <li><p>It says <code>on branch master</code> but I wanted it to be on 'main' branch instead.</p>
  </li>
  <li><p>After that I run this command-
  <code>git push -u origin main</code></p>
  </li>
  </ol>
  <p>8.And it shows me this-</p>
  <pre><code>   error: src refspec main does not match any
     error: failed to push some refs to 'https://github.com/Lamphrangmi-Lamin/Bootcamp-Survey.git'
  </code></pre>
  <p><strong>What I wanted was to have my files on the <code>main</code> branch.</strong></p>