def run_git_command(self, command, capture_output=True, use_shell=False, **kwargs):
        stdout, stderr = run('cd {} && git {}'.format(self.source_root, command),
                             capture_output=capture_output, use_shell=use_shell, **kwargs)
        if stderr:
            raise ValueError('Failed to run git command at "{}". stderr={}'.format(self.source_root, stderr))
        return stdout
docstring for test_get_chr_prority
dataset/ETHPy150Open sodastsai/taskr/taskr/contrib/git.py/GitRepo.run_git_command--crossover with--dataset/ETHPy150Open moonso/genmod/tests/utils/test_get_priority.py/test_get_custom_prority