title: Git find out the last commit i pushed
body: <p>I want to find out the last thing that I pushed, not the last thing i commited, but pushed. </p>
  
  <p>Is there a git command for this?</p>
  
  <p><em>Context:</em>
  I want to squash some commits before merging my dev_branch with a master branch but I have been told you can not rebase anything that is already pushed (is this true?).</p>
  
  <p>So i would like to know what was the last commit that I cannot include in this rebase.  </p>