Report question

Question: Rails 3 app, How to get GIT version and update website?