code: def git(*args: str) -> tuple[int, str, str]:
      proc = subprocess.Popen(
          ["git", *args], stdout=subprocess.PIPE, stderr=subprocess.PIPE
      )
      stdout, stderr = proc.communicate()
      out = stdout.decode("utf-8", errors="ignore")
      err = stderr.decode("utf-8", errors="ignore")
      return (proc.returncode, out, err)
  
file_path: bokeh/tests/test_cross.py
imports: from __future__ import annotations
  import pytest
  import os
  import signal
  import subprocess
  import sys
  import time
  from pathlib import Path
  from typing import TYPE_CHECKING, Literal, NoReturn, Union
  import _pytest.config
  import _pytest.mark
  import _pytest.python
label_desc: Use image node_id 4 for calling a global function with example usage: git() and returns: proc,  out,  err