title: Git branch from a prev commit and pull changes from master
body: <p>Let's say I have made following commits.
  All commits were in the same branch. In Commit 3, I deleted C and now I need to add C back to the current</p>
  
  <pre><code>Commit 1: A,
  Commit 2: A, C 
  Commit 3: A, 
  .
  .
  .
  Master (current) : A, B, D
  </code></pre>
  
  <p>And now, I want to create a branch with A, B, C, and D.
  This is what I have tried.</p>
  
  <ol>
  <li><p>create a local and remote branch at commit 2</p>
  
  <p>git checkout branch mybranch hashtag-of-commit2</p></li>
  <li><p>pull changes from origin/master (current) to add B and D</p>
  
  <p>git checkout mybranch</p>
  
  <p>git fetch origin</p>
  
  <p>git merge origin/master</p></li>
  </ol>
  
  <p>Doing this, it deletes C and adds B and D. The final result is A, B, D. What I'd like to have is A, B, C and D. How do I this?</p>