GitStats - git history statistics generator


GitStats is a statistics generator for git (a distributed revision control system) repositories. It examines the repository and produces some interesting statistics from the history of it. Currently HTML is the only output format.

Also see the SourceForge project page.


Here is a list of some statistics generated currently:


See the examples directory for example statistics generated for various projects.


Getting GitStats

GitStats repository is hosted on both GitHub and Gitorious.

Using git

The recommended way to get GitStats is to clone it with git:

git clone git://

The repository also contains the web site in the web branch.

As a tarball

Alternatively, you can download a tarball of the latest version.

Distro packaging


If you are running Debian Squeeze, Wheezy or Sid, you can install gitstats with:

apt-get install gitstats

But note that the version in Debian is most likely much older than the latest version available in git.


On Fedora 17 or later and EL6 distributions that have the EPEL repository [1] enabled:

yum install gitstats


Both the code and the web site are licensed under GPLv2/GPLv3.

Related projects