code: def _get_source_version():
      main_file = _get_main_file()
      if main_file is not None:
          return get_git_commit(main_file)
      return None
  
file_path: mlflow/mlflow/tracking/context/git_context.py
imports: import logging
  from mlflow.tracking.context.abstract_context import RunContextProvider
  from mlflow.tracking.context.default_context import _get_main_file
  from mlflow.utils.git_utils import get_git_commit
  from mlflow.utils.mlflow_tags import MLFLOW_GIT_COMMIT
label_desc: Use image node_id 1 for calling a global function with example usage: _get_source_version() and returns: None, get_git_commit