code: def test_scm_context_remind_to_track(caplog, scm_context, quiet):
      with scm_context(quiet=quiet) as context:
          context.track_file("foo")
          context.track_file("lorem ipsum")
          assert context.files_to_track == {"foo", "lorem ipsum"}
  
      if quiet or isinstance(scm_context.scm, NoSCM):
          assert not caplog.text
      else:
          assert "To track the changes with git, run:" in caplog.text
          match = re.search(
              r"git add(?: (('.*?')|(\S+)))*", caplog.text
          )
          assert match
          assert set(match.groups()) == {"'lorem ipsum'", "foo"}
  
file_path: dvc/tests/unit/repo/test_scm_context.py
imports: import re
  import pytest
  from dvc.repo.scm_context import SCMContext
  from dvc.scm import Git, NoSCM
label_desc: Use image node_id 11 for calling a global function with example usage: test_scm_context_remind_to_track(caplog, scm_context, quiet) without return types