title: Local branch after using git clone
body: <p>After using <code>git clone</code>, I'm having a slight misunderstanding on how to use <code>branches</code>. I have the same code on both the new <code>branch</code> and <code>master branch</code>. How to properly create one?</p>
  
  <p>Using <code>git branch 'branch name'</code> seems to create a branch, but after I add some new features, those features appears on both the new and old (master) branch</p>
  
  <p>Using the command <code>git branch -a</code>; I get this:</p>
  
  <pre><code>new branch
  * master
  remotes/origin/HEAD -&gt; origin/master
  remotes/origin/master
  </code></pre>
  
  <p>I was expecting to use the new branch to add new features, and then merge them into master. But it seems i didn't understand very well how to use branches after i use the command git clone.</p>
  
  <p>EDIT: Sorry, forgot to mention, i already used <code>git checkout</code>, and i know how to use it. But still after i switch to the new branch, add some new features, then switch back to the old branch(in this case, master) i have the newly added features on that branch (master) too.</p>