def _execute_local_git_command(*args):
    command_output = subprocess.check_output(
        ['git'] + list(args),
        cwd=os.path.dirname(__file__),
    )
    return command_output.decode()
Execute a git command in the ClusterRunner git repo that we are currently executing from. subprocess.check_output()
dataset/ETHPy150Open box/ClusterRunner/app/util/autoversioning.py/_execute_local_git_command