 reset --hard HEAD~3       <b class="conum">(2)</b>
$ git switch topic/wip          <b class="conum">(3)</b></pre>
</div>
</div>
<div class="colist arabic">
<ol>
<li>
<p>You have made some commits, but realize they were premature
to be in the <code>master</code> branch.  You want to continue polishing
them in a topic branch, so create <code>topic/wip</code> branch off of the
current <code>HEAD</code>.</p>
</li>
<li>
<p>Rewind the master branch to get rid of those three commits.</p>
</li>
<li>
<p>Switch to <