Set up a repository others can maintain
Choose between a template and a fork, route questions to the right file and interpret evidence about a repository's health.
Two rights to check
A city uses an open library and wants to distribute a modified build. It also wants upstream review of documentation under /formats. Which project files answer those separate requests?
Work through the decision
Read LICENSE for the rights and obligations attached to redistribution. Read CONTRIBUTING for the process and CODEOWNERS for path-based reviewers. An automatic request for a review does not itself enforce approval before merge.
Give contributors the right file
README explains how to start. LICENSE states reuse terms. CONTRIBUTING explains how to propose changes. SECURITY.md routes sensitive reports and CODEOWNERS maps paths to reviewers. A reviewer mapping acquires enforcement only when the repository also requires the appropriate review.
Start an independent repository
A repository template supplies a starting file layout for a new project with independent history. A branch stays in the same repository and shares its ancestry. Choose a fork when the intended destination is an upstream contribution.
Record file changes deliberately
Editing, staging and committing are distinct steps. Inspect the working diff, stage only intended paths and check the staged diff before committing. A GitHub web edit on a new branch can go through the same review process as a local edit.
Before a commit, compare the two diffs below. The first shows edits the next commit would leave behind. The second shows the content it would record. A clean working-tree diff can coexist with a nonempty staged diff.
git diff
git diff --staged
Interpret repository signals
Use repository insights to inspect activity and the dependency graph to inspect recognized packages and manifests. Stars are bookmarks and a rough interest signal. Feature previews let an individual try available changes. Organization metrics dashboards help compare repository trends across a portfolio.
Imagine 35 stars and five recognized dependencies before release. A week later there are 42 stars and six dependencies. Seven additional stars tell you nothing about how many people installed the package. Inspect the changed manifest and lockfile to explain the sixth dependency.
Maintain a repository through turnover
Keep setup steps reproducible, triage stale work with context, and document who owns review and release decisions. Before archiving a retired repository, announce its successor and resolve outstanding work. Archiving makes the repository read-only.
A template without an update channel
Twelve teams create services from a shared template. The platform team fixes the starter's missing test command. One service still fails during onboarding. Why, and what would make the repair auditable?
Check your reasoning
Generation copied the files once. Compare the affected service's setup file with the corrected template and propose the change in that service. Inventory existing services needing the fix. Future users who generate from the corrected template get the updated starting files.
GitHub documentation · GH-900 skills outline
Continue in GitHub Actions. Release actions without surprising consumers.
Set up a repository others can maintain quiz
Answer 5 questions. Check each answer for an explanation.