Generate mailmap file for a git repository