class_docstr: Proxies the repo file access methods to Git objects
class_docstr_tok: ["Proxies","the","repo","file","access","methods","to","Git","objects"]
code: def __init__(
      self,
      path: Optional[str] = None,
      rev: Optional[str] = None,
      scm: Optional["Git"] = None,
      trie: Optional["GitTrie"] = None,
      **kwargs: Any,
  ) -> None:
      from dvc.scm import resolve_rev
  
      super().__init__()
      self.fs_args.update(
          {
              "path": path,
              "rev": rev,
              "scm": scm,
              "trie": trie,
              "rev_resolver": resolve_rev,
              **kwargs,
          }
      )
  
file_path: dvc/dvc/fs/git.py
imports: import functools
  from typing import TYPE_CHECKING, Any, Optional
  from .None import FileSystem
label_desc: Use image node_id 1 to create a new GitFileSystem object from inherited base classes: FileSystem with example: obj = GitFileSystem(path, rev, scm, trie)