Grit is a Ruby library for extracting information from a git repository in an object oriented manner http://rubygems.org/gems/gitlab-grit