class_docstr: PyGit class represents a git repo within a weigit repo.
  
  Args:
      parent_path (pathlib.Path)
          Has to be the full path of the parent!
      gitignore (List)
          a list of files to be added to the .gitignore
      name (str)
          Name of the author of the git repo. Optionally used if it can't be determined from user's .gitconfig.
      email (str)
          email address of the author of the git repo
docstr: Gathers the status of the git repo within wgit and returns a dictionary detailing the status.
  The dictionary contains the relative paths of the metadata files as keys and the values represent
  the status of the file in the form of an int number as status codes. These status codes are
  elaborated within PyGit2's documentation: https://www.pygit2.org/index_file.html#status and
  https://github.com/libgit2/pygit2/blob/320ee5e733039d4a3cc952b287498dbc5737c353/src/pygit2.c#L312-L320
  
  Returns: {"relative path to a file" : pygit2 status codes}
docstr_tok: ["Gathers","the","status","of","the","git","repo","within","wgit","and","returns","a","dictionary","detailing","the","status",".","The","dictionary","contains","the","relative","paths","of","the","metadata","files","as","keys","and","the","values","represent","the","status","of","the","file","in","the","form","of","an","int","number","as","status","codes",".","These","status","codes","are","elaborated","within","PyGit2","'s","documentation",":","https",":","\/\/www.pygit2.org\/index_file.html","#","status","and","https",":","\/\/github.com\/libgit2\/pygit2\/blob\/320ee5e733039d4a3cc952b287498dbc5737c353\/src\/pygit2.c","#","L312-L320","Returns",":","{","``","relative","path","to","a","file","''",":","pygit2","status","codes","}"]
code: def status(self) -> Dict:
      """Gathers the status of the git repo within wgit and returns a dictionary detailing the status.
      The dictionary contains the relative paths of the metadata files as keys and the values represent
      the status of the file in the form of an int number as status codes. These status codes are
      elaborated within PyGit2's documentation: https://www.pygit2.org/index_file.html#status and
      https://github.com/libgit2/pygit2/blob/320ee5e733039d4a3cc952b287498dbc5737c353/src/pygit2.c#L312-L320
  
      Returns: {"relative path to a file" : pygit2 status codes}
      """
      status_dict = self.repo.status()
      tracking_dict = dict(
          filter(
              lambda item: item[1] != pygit2.GIT_STATUS_IGNORED,
              status_dict.items(),
          )
      )
      return tracking_dict
  
file_path: fairscale/fairscale/experimental/wgit/pygit.py
imports: from pathlib import Path
  import subprocess
  import sys
  from typing import Dict, List, Tuple
  import pygit2
label_desc: Use image node_id 7 for calling the PyGit obj's underlying member method code with example usage: obj.status() and returns: tracking_dict