code: def add(self, *files):
          
  
          try:
              _run_command(("git", "add") + files)
          except CalledProcessError:
              # Only if the command fails we check if the files
              # exist, because git-add most of the time fails when
              # the provided files are not found.
              for f in files:
                  if not Path(f).exists():
                      raise FileNotFoundError(f"No such file or directory: {f}")
docs: Add one or more files to the index running git-add.