title: How to undo commit, put into new branch then do a PR?
body: <p>I have a <code>master</code> branch that is protected with push only by PR.</p>
  
  <p>Say I thoughtlessly on <code>master</code>:</p>
  
  <pre><code>git add .
  git commit -m "bunch of changes"
  </code></pre>
  
  <p>But I push to the branch and am rejected because the branch is protected.
  How do I backtrack, preserve my changes, and do a PR?</p>