I wrote a small Python program to extract Git commit metrics for a table in my thesis. There were some alternative tools available, but none of them gave exactly the output I was looking for. Instead of converting the output from another tool it seemed easy enough to roll my own solution, so here it is: git-commit-metrics.
My program generates TeX tables like the following one:
The above table was generated for the ExtendJ compiler repository.