parameters: (self, parameters, as_lines=False)
return_statement: return raw_data
docstring: Execute the git command line tool with the given command-line parameters and return the console output as a
          string.
docstring_summary: Execute the git command line tool with the given command-line parameters and return the console output as a
          string.
docstring_tokens: Execute the git command line tool with the given command - line parameters and return the console output as a string .
function: def _do(self, parameters, as_lines=False):
          """
          Execute the git command line tool with the given command-line parameters and return the console output as a
          string.
          """
          assert isinstance(parameters, list)
          raw_data = subprocess.check_output(['git'] + parameters, cwd=self.local_repository).decode()
          if as_lines:
              return raw_data.splitlines()
          return raw_data
function_tokens: def _do ( self , parameters , as_lines = False ) : assert isinstance ( parameters , list ) raw_data = subprocess . check_output ( [ 'git' ] + parameters , cwd = self . local_repository ) . decode ( ) if as_lines : return raw_data . splitlines ( ) return raw_data