def _execute_git_command_in_repo_and_raise_on_failure(self, git_command, error_msg='Error executing git command.'):
        # The option that prevents ssh from displaying interactive prompts is "BatchMode=yes".
        strict_host_key_setting = 'yes' if Configuration['git_strict_host_key_checking'] else 'no'
        git_ssh_args = '-o BatchMode=yes -o StrictHostKeyChecking={}'.format(strict_host_key_setting)

        env_vars = {
            'GIT_ASKPASS': Configuration['git_askpass_exe'],
            'GIT_SSH': Configuration['git_ssh_exe'],
            'GIT_SSH_ARGS': git_ssh_args,  # GIT_SSH_ARGS is not used by git; it is used by our git_ssh.sh wrapper.
        }
        command = 'git ' + git_command
        return self._execute_and_raise_on_failure(command, error_msg, cwd=self._repo_directory, env_vars=env_vars)
Default processing event method. By default does nothing. Subclass
dataset/ETHPy150Open box/ClusterRunner/app/project_type/git.py/Git._execute_git_command_in_repo_and_raise_on_failure--crossover with--dataset/ETHPy150Open seb-m/pyinotify/python2/pyinotify.py/ProcessEvent.process_default