code: def diff_baseline(
      baseline_path: Path, ref: str = "HEAD"
  ) -> tuple[int, str, str]:
      return git(
          "diff",
          "--color",
          "--exit-code",
          ref,
          "--",
          str(baseline_path),
      )
  
file_path: bokeh/tests/test_defaults.py
imports: from __future__ import annotations
  import pytest
  import subprocess
  from pathlib import Path
  from tests.support.defaults import collect_defaults, output_defaults
label_desc: Use image node_id 2 for calling a global function with example usage: diff_baseline(baseline_path, ref) and returns: git