title: How to view remote Git revision on Heroku
body: <p>For deploying to Heroku, I use <code>git push heroku master</code>. But how do I see which revision I pushed up to heroku? (I'm often in doubt if I pushed the recent version up)</p>
  
  <p>For those not familiar with it, Heroku's create script generates a remote git repository that you push to. Upon push, the code is deployed magically.</p>
  
  <p>Heroku adds a remote repository to the local one in the form:</p>
  
  <pre><code>$ git remote add heroku git@heroku.com:appname.git
  </code></pre>
  
  <p>More info in Heroku's manual <a href="http://docs.heroku.com/git" rel="noreferrer">"Deploying with Git"</a></p>
  
  <p>Question is: How can I see latest version in Heroku repository?</p>