title: Local branch shown ahead of remote branch after rebasing
body: <p>Every time I rebase my local branch, <code>git status</code> shows something like this:</p>
  
  <pre><code># On branch --blah--
  # Your branch is ahead of 'origin/--blah--' by 11 commits.
  </code></pre>
  
  <p>Only after I push to the branch (which doesn't push anything actually) it says <code>Everything up-to-date</code>.</p>
  
  <p>This is strange behavior, and I suspect there is something fundamental that I'm missing. Why this is happening?</p>