Introduce git_diff_get_stats and git_diff_stats_to_buf
Introduce git_diff_format_email and git_diff_commit_as_email