code: def get_git_commit_message(cwd=None):
      return subprocess.check_output(
          ["git", "show", "-s", "--format=%B", "HEAD"], cwd=cwd
      ).decode("utf8")
  
file_path: baselines/baselines/common/console_util.py
imports: from __future__ import print_function
  from contextlib import contextmanager
  import numpy
  import time
  import shlex
  import subprocess
label_desc: Use image node_id 6 for calling a global function with example usage: get_git_commit_message(cwd) and returns: subprocess