title: Git push a different branch to github
body: <p>I have a local master branch, after trying some stuff, decided to go back to commit X, like 4 previous commits, then I make a new branch "master2" and this is now my main branch.
  When I try to do a new push (to my github) for my different branch it throws an error.</p>
  
  <pre><code> git push -u origin master2
   ! [rejected]        master2 -&gt; master2 (non-fast-forward)
  </code></pre>
  
  <p>How can i do a push to github for this new branch?</p>