I was looking to get some slightly more detailed stats out of a git repo, more than just the command line stats you can generate. There are a couple of tools out there that generate graphs and charts for you, but they rely heavily on external libraries.
The best looking one was GitStats http://gitstats.sourceforge.net/ (example). But after checking off the pre reqs of Python, X11 and downloading and compiling GnuPlot it still wasn’t creating PNG graphs due to missing 3rd party libraries!! It was proving to be a bit of a pain, but I finally managed to get it all working with just 2 downloads (I already had python) – GitStats and a pre compiled binary of GnuPlot that contains all the 3rd party dependencies used by GitStat.
Below are some simple steps to get it up and running on OSX: