title: git "Your branch and 'origin/master' have diverged" after fresh clone of remote repo
body: <p>When I clone a remote repository with </p>
  
  <ol>
  <li><code>git clone 'repo_url'</code></li>
  <li><code>git pull</code></li>
  <li><code>git status</code></li>
  </ol>
  
  <p>I get this message -</p>
  
  <pre><code>On branch master
  Your branch and 'origin/master' have diverged,
  and have 41 and 20 different commits each, respectively
  </code></pre>
  
  <p>When I use <code>git pull -a</code> I do not have this issue.</p>
  
  <p>Are things out of sync on the remote repo? with the HEAD and the master ?
  How do I fix it?</p>
  
  <p><strong>EDIT 1 :</strong> </p>
  
  <p>when I run git branch -a : this is what it looks like...</p>
  
  <p>$ git branch -a</p>
  
  <pre><code>* master
    remotes/origin/HEAD -&gt; origin/master
    remotes/origin/clothes
    remotes/origin/dunnesBranch
    remotes/origin/master
  </code></pre>
  
  <p><strong>EDIT 2 :</strong></p>
  
  <p>It seems to me that origin/master is not pointing to the latest code...
  I ran 'git clone ' then 
  <code>git reset --hard origin/master</code>
  and then a 'git pull' and it attempted a merge which failed due to conflicts...</p>
  
  <p>I think...
  The HEAD of the remote repo is pointing to the latest commit, origin/master is pointing to a different, older commit...
  I can verify this when I run git show...</p>