simple git interface with python