title: Why does git fetch not seem to actually fetch the latest remote commits?
body: <p>So, this has been asked elsewhere, but the answers I see don't seem to work for me.</p>
  
  <p>I have a bare remote repository, "origin". I work locally, in a branch named "ect010", which the remote has as well, and it is tracked:</p>
  
  <pre><code>git remote show origin
  * remote origin
    Fetch URL: /projects/ECT/bareChain.git
    Push  URL: /projects/ECT/bareChain.git
    HEAD branch: master
    Remote branches:
      develop tracked
      ect010  tracked
      master  tracked
      oldXML  tracked
    Local branch configured for 'git pull':
      ect010 merges with remote ect010
    Local ref configured for 'git push':
      ect010 pushes to ect010 (local out of date)
  </code></pre>
  
  <p>The remote ect010 branch has a few more recent commits than my local ect010 (I can see these commit if I go tho the bare directory and do a git log).</p>
  
  <p>Knowing this, I do from my local ect010 branch:</p>
  
  <pre><code>git fetch origin ect010
  </code></pre>
  
  <p>Which doesn't seem to do much:</p>
  
  <pre><code>From /projects/ECT/bareChain
   * branch            ect010     -&gt; FETCH_HEAD
  </code></pre>
  
  <p>..and finally, I want to see the differences between my local ect010 and the remote ect010, so I tried</p>
  
  <pre><code>git log origin/ect010
  </code></pre>
  
  <p><strong>But this shows the same log as my local log, not showing the latest commits that I know are pushed on bare.</strong> Why? Obviously I am doing something wrong, but as I see on some <a href="https://stackoverflow.com/questions/1800783/how-to-compare-a-local-git-branch-with-its-remote-branch">other posts</a>, this technique should work.. no?</p>
  
  <p>I'd appreciate any help!
  Thanks a lot,</p>
  
  <p>Arnaud</p>
  
  <p><strong>EDIT:</strong> (because I also see this suggestion in other answers, but seems OK in my config)</p>
  
  <p>Doing </p>
  
  <pre><code>git config --get remote.origin.fetch
  </code></pre>
  
  <p>Gives:</p>
  
  <pre><code>+refs/heads/*:refs/remotes/origin/*
  </code></pre>
  
  <p>..which seems OK, right?</p>