git-fame is a command-line tool that helps you summarize and pretty-print collaborators, based on the number of contributions.
The statistics are mostly based on the output of
git blame on the current branch.
git fame counts the total number of current lines of code (and files) that were last touched by each author, and prints out these totals, along with the number of commits per author, as a sorted table.
gem install git_fame
git clone https://github.com/oleander/git-fame-rb.git
bundle exec rspec