title: Why is my git branch not pointing to the latest commit?
body: <p>I'm seeing the following graph in SourceTree. I have the 'dev' branch checked out, and I don't understand why I'm pointing to the commit that's highlighted in blue, instead of the commit at the top of the list.</p>
  
  <p><a href="https://i.stack.imgur.com/qYmp3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qYmp3.png" alt="enter image description here"></a></p>
  
  <p>The graph suggests that the commit at the top of the list has been commited on the dev branch (although I always find the SourceTree graph confusing, I'm not sure if this is actually what the graph is telling me). If I do:</p>
  
  <pre><code>git checkout dev
  git reset --hard head
  </code></pre>
  
  <p>then I'm still on the same commit that's highlighted in blue. Also I'm unclear on why the master branch is showing a marker of 'origin/HEAD'. Shouldn't the commit at the top of the list be marked 'origin/HEAD'. What's going on here, and is there something I need to do to fix this?</p>