Use dulwich for git operations.