Interview Prep/Git & GitHub/Scale, Submodules, LFS and GitHub Automation

A project is finished. How do you retire its repository properly?

BeginnerScenarioScale, Submodules, LFS and GitHub Automation
Answer

Situation read → Keep history, stop changes, and tell users.

What I'd do →

  1. Update the README with a deprecation note and a pointer to the replacement.
  2. Close or triage open issues and PRs.
  3. Remove secrets, webhooks and deploy keys.
  4. Archive the repo (Settings → Archive); it becomes read-only. Transfer ownership first if needed.

Why → Archived repos keep their history and links but cannot receive changes.

Interview tip → Unarchive is possible, so archiving is reversible.

All Git & GitHub questions Roadmap: Git & GitHub

More on Scale, Submodules, LFS and GitHub Automation