code: def _load_repo(self):
          
          if self._logg_repo:
              return self._logg_repo
  
          try:
              _logg_repo = git.Repo(self._engine_path)
              log.debug('Loaded git repo [{0}]'.format(self._engine_path))
          except Exception:
              # FIXME: should this be automatic?
              # log.error("Git repo doesn't exist! run ``idid init``")
              _logg_repo = self._init_repo()
          return _logg_repo
docs: Load git repo using GitPython