etc/gitstats.rb: add new script

To extract some statistics from git.git.