title: How to correctly switch between branches in PHPStorm?
body: <p>So the problem is, I've made a new branch: <em>myname/mysuperbranch</em></p>
  
  <p>And at the same time I have origin/master branch. And after I've made changes to my branch I checkout back to origin/master and it still has all my changes that I made inside of the <em>myname/mysuperbranch</em> branch. </p>
  
  <p>How do I correctly switch between branches? For example:</p>
  
  <ol>
  <li><p>I made some changes in my myname/myspuerbranch</p></li>
  <li><p>Save this changes locally. </p></li>
  <li><p>Switch to origin/master branch, and it should be clean, without any changes.</p></li>
  </ol>
  
  <p>What am I doing wrong?</p>