@property
    def git_client(self):
        cls = self.__class__
        if cls._git_client is None:
            cls._git_client = git.Git()
        return cls._git_client
single global git client instance
dataset/ETHPy150Open everware/everware/everware/spawner.py/GitMixin.git_client