code: def _maybe_print_old_git_warning(main_script_path: str) -> None:
      """If our script is running in a Git repo, and we're running a very old
      Git version, print a warning that Git integration will be unavailable.
      """
      repo = GitRepo(main_script_path)
      if (
          not repo.is_valid()
          and repo.git_version is not None
          and repo.git_version < MIN_GIT_VERSION
      ):
          git_version_string = ".".join(
              str(val) for val in repo.git_version
          )
          min_version_string = ".".join(
              str(val) for val in MIN_GIT_VERSION
          )
          click.secho("")
          click.secho(
              "  Git integration is disabled.", fg="yellow", bold=True
          )
          click.secho("")
          click.secho(
              f"  Streamlit requires Git {min_version_string} or later, "
              f"but you have {git_version_string}.",
              fg="yellow",
          )
          click.secho(
              "  Git is used by Streamlit Cloud (https://streamlit.io/cloud).",
              fg="yellow",
          )
          click.secho(
              "  To enable this feature, please update Git.",
              fg="yellow",
          )
  
imports: import asyncio
  import os
  import signal
  import sys
  from pathlib import Path
  from typing import Any, Dict, List
  import click
  from streamlit import config, env_util, file_util, net_util, secrets, url_util, util, version
  from streamlit.config import CONFIG_FILENAMES
  from streamlit.git_util import MIN_GIT_VERSION, GitRepo
  from streamlit.logger import get_logger
  from streamlit.source_util import invalidate_pages_cache
  from streamlit.watcher import report_watchdog_availability, watch_dir, watch_file
  from streamlit.web.server import Server, server_address_is_unix_socket, server_util
label_desc: Use image node_id 12 for calling a global function with example usage: _maybe_print_old_git_warning(main_script_path) without return types