Use pygit to clone instead of subprocess