code: def get_diff():
      try:
          return (
              subprocess.check_output(["git", "diff"], cwd=CURRENT_DIR)
              .strip()
              .decode("utf-8")
          )
      except:  # noqa
          # Never fail, we don't care about the error.
          return None
  
file_path: luminoth/luminoth/utils/experiments.py
imports: import datetime
  import json
  import os.path
  import subprocess
  import tensorflow
  from luminoth.utils.homedir import get_luminoth_home
label_desc: Use image node_id 1 for calling a global function with example usage: get_diff() and returns: subprocess, None