title: Github Branch is ahead message not clear
body: <p><a href="https://stackoverflow.com/questions/2432579/git-your-branch-is-ahead-by-x-commits">git: Your branch is Ahead by X commits</a></p>
  
  <p><a href="https://stackoverflow.com/questions/11687102/git-branch-is-ahead-of-origin-master">Git branch is ahead of origin/master</a></p>
  
  <p>I have read both questions above and it still does not answer my questions. Basically what I did was </p>
  
  <ol>
  <li>Create a new repository in GitHub. </li>
  <li>Clone and get the data in my local linux box</li>
  <li>Make changes do "git add" then do a "git commit -m "message"</li>
  <li>Finally do a "git push <a href="https://github.com/username/sandbox.git" rel="nofollow noreferrer">https://github.com/username/sandbox.git</a>". This works fine and I use the https protocol that is advised instead of the SSH protocol (Please note if I do just "git push" it uses the SSH protocol which I have not configured yet and it fails)</li>
  <li>Perform "git pull <a href="https://github.com/username/sandbox.git" rel="nofollow noreferrer">https://github.com/username/sandbox.git</a>" and also "git fetch <a href="https://github.com/username/sandbox.git" rel="nofollow noreferrer">https://github.com/username/sandbox.git</a>" all of which performed successfully saying "Already up-to date". </li>
  <li>Visit the github website and I can see the changes.</li>
  <li><p>Now run "git status" and I now see the following</p>
  
  <blockquote>
    <p>On branch master<br>
    Your branch is ahead of 'origin/master' by 9 commits.</p>
  </blockquote></li>
  </ol>
  
  <p>This was not what I expected. Can someone tell me why git thinks I am ahead of the origin/master by 9 commits. I have pushed and pulled the data so I would expect my local repo to be in perfect sync with the remote master/origin repo.</p>
  
  <p>The command "git branch -av" shows the following</p>
  
  <pre><code> * master                a99daf0 [ahead 9] submit
    remotes/origin/HEAD   -&gt; origin/master
    remotes/origin/master 81c7ec1 remove out files
  </code></pre>