If you have a development, staging, and a production server putting your Git Commit ID in your HTTP header will help a lot. This link shows you how to do it in Ruby on Rails.
Making Life Easier with Git Commit ID in your HTTP Header
Monday, 14 March 2011 at 03:17 PM