GitPython provides object model access to your git repository.
Docs
Invoke is a Python (2.7 and 3.4+) task execution tool & library, drawing inspiration from various sources to arrive at a powerful & clean feature set.
Homepage
GitHub