Include this gem in your Rails project, and /sha will display the SHA of the app code revision git SHA. in Gemfile : gem 'show_sha' Results :