code: def _get_bundled_git_version():
      """Return version of git bundled with git-annex."""
      path = _git_runner._get_bundled_path()
      if path:
          out = _runner.run(
              [op.join(path, "git"), "version"],
              protocol=StdOutErrCapture,
          )["stdout"]
          # format: git version 2.22.0
          return out.split()[2]
  
imports: import os.path
  import re
  import sys
  from itertools import chain
  from os import linesep
  from looseversion import LooseVersion
  from datalad.config import get_git_version
  from datalad.log import lgr
  from .exceptions import CapturedException, CommandError
  from datalad.cmd import GitWitlessRunner, StdOutErrCapture, WitlessRunner
  from datalad.support.exceptions import MissingExternalDependency, OutdatedExternalDependency
label_desc: Use image node_id 4 for calling a global function with example usage: _get_bundled_git_version() and returns: out