code: def __init__(
      self, scm: "Base", config: Optional[Dict[str, Any]] = None
  ) -> None:
      from funcy import get_in
  
      self.scm: "Base" = scm
      self.autostage: bool = get_in(
          config or {}, ["core", "autostage"], default=False
      )
      self.ignored_paths: List[str] = []
      self.files_to_track: Set[str] = set()
      self.quiet: bool = False
  
file_path: dvc/dvc/repo/scm_context.py
imports: import logging
  import shlex
  from contextlib import contextmanager
  from functools import wraps
  from typing import TYPE_CHECKING, Any, Dict, Iterable, Iterator, List, Optional, Set, Union
  from dvc.log import logger
  from dvc.utils import relpath
  from dvc.utils.collections import ensure_list
label_desc: Use image node_id 1 to create a new SCMContext object  with example: obj = SCMContext(scm, config)