GitPython is a Python library used to interact with Git repositories.
GitPython provides object model read and write access to your git repository. Access repository information conveniently, alter the index directly, handle remotes, or go down to low-level object database access with big-files support.
With the new object database abstraction added in 0.3, its even possible to implement your own storage mechanisms, the currently available implementations are 'cgit' and pure python, which is the default.
GitPython is a port of the grit library in Ruby created by Tom Preston-Werner and Chris Wanstrath.