title: A branch branched-out from master still contains code from the old renamed branch
body: <p>I have a local branch named <code>sprint1</code>. I renamed it to <code>sprint1-complete</code>.</p>
  
  <p>Now I created a new branch from <code>master</code> (because I want to work off code from master in this new branch) using <code>git checkout -b sprint1</code> and named it <code>sprint1</code>. Unfortunately, <code>sprint1</code> still contains code from the deleted sprint1 branch instead of code from master.</p>
  
  <p>Need to say, that I only experience this when I clone the branch. At the upstream, sprint1 contains code from master.</p>
  
  <p>Now my question is, does this mean that the ref is not updated when I renamed or deleted the local branch?</p>
  
  <p>Appreciate your help.</p>