Generate stats for a git repository