code: def tar_files(self, path: Path) -> bytes:
          
          tarstream = BytesIO()
          tar = tarfile.TarFile(fileobj=tarstream, mode='w')
          tar.add(str(path), arcname="data", recursive=True)
          tar.close()
          return tarstream.getvalue()
docs: Returns a tar with the git repository.