dulwich - Python implementation of Git — dulwich 0.8.4 documentation
It aims to give an interface to git repos (both local and remote) that doesn’t call out to git directly but instead uses pure Python.