def METHOD_NAME(self, command: str, *args):
    """
    Runs a given git command, with the provided args. If dry_run is set,
    the command is simply echoed. If the command fails, we exit.
    Args:
        command (str): the git command to call
        args (list(str)): any additional args to pass to git
    Returns:
        str: the stdout of the command (if successful)
    """
    print(f'[*] git {command} {" ".join(args)}')
    if self.dry_run:
        return
    try:
        return self.git(command, *args).stdout.decode()
    except ErrorReturnCode as e:
        print(f'Failed to run "git {command} {" ".join(args)}": {e}')
        sys.exit(1)