title: Create a new GIT branch based on server without local changes
body: <p>I think I'm missing some basic idea about GIT branches.</p>
  
  <p>Let's say I've cloned a repository on my machine, and started working (on local "master").</p>
  
  <p>Now someone have told me about a bug in production.</p>
  
  <p>I want to stop everything I'm doing (modified filed and un-pushed commits), create a feature branch that is <strong>based on the server without the changes I made locally</strong>, fix the bug, commit and push, and then get back to master, rebase and keep working.</p>
  
  <p>I thought that the the following would work:</p>
  
  <pre><code>$ git clone &lt;some repo&gt;
  $ vim text.txt
  $ git checkout -b bugFix
  </code></pre>
  
  <p>The problem is that the branch "bugFix" includes the change I made in master in it's status.</p>
  
  <p>How can I create a clean branch?</p>