title: Git Switching branch
body: <p>There is somthing I don't get yet with git. It is branch.
  So let say that I have a local repository <code>A</code> which I clone from a remote one <code>B</code>.
  So now <code>A</code> have the master branch checked out.</p>
  
  <p>So when I push from <code>A</code> it goes to <code>B</code> master.</p>
  
  <p><code>B</code> is just a clone on github, a clone of <code>C</code>.</p>
  
  <p>From time to time in other to get in sync I pull from <code>C</code> master branch.</p>
  
  <p>But now <code>C</code> master branch is quite broken for the time being.
  Since from <code>A</code> I had pull from <code>C</code> my local <code>A</code> is also bugy.</p>
  
  <p>So I would like from <code>A</code> to pull the <code>C</code> stable branch.
  How do you guys usually do in this situation?</p>
  
  <p>Do you create a new branch on <code>A</code> and pull from <code>C</code>. But since <code>A</code> have the <code>C</code> master change I need to revert it first...</p>