A simple git tool in Python