code: def git_exec(self, command, **kwargs):
          
          from .cli import verbose_echo
  
          command.insert(0, self.git)
          if kwargs.pop('no_verbose', False):  # used when git output isn't helpful to user
              verbose = False
          else:
              verbose = self.verbose
          verbose_echo(' '.join(command), verbose, self.fake)
  
          if not self.fake:
              result = self.repo.git.execute(command, **kwargs)
          else:
              if 'with_extended_output' in kwargs:
                  result = (0, '', '')
              else:
                  result = ''
          return result
docs: Execute git commands