New repositories should start with standard files, protections and CI.
BeginnerScenarioScale, Submodules, LFS and GitHub Automation
Answer
Situation read → Consistent starting points reduce setup mistakes.
What I'd do →
- Create a template repository with README, LICENSE, CI,
CODEOWNERS,.gitignore. - Add an organisation
.githubrepo for default issue and PR templates,SECURITY.mdandCODE_OF_CONDUCT.md. - Apply org-level rulesets so every repo gets baseline protection.
- Optionally automate repo creation with Terraform.
Why → Defaults inherited at creation are far more reliable than a checklist.
Interview tip → Template repositories are not forks; they start with clean history.
More on Scale, Submodules, LFS and GitHub Automation
A monorepo has 4 GB of history and developers only touch one service. How do you make their day-to-day faster?IntermediateDesigners commit PSD and video assets, and the repo keeps growing. How do you move them to Git LFS?IntermediateYour GitHub LFS bandwidth quota is exhausted and CI pulls fail. What do you do?AdvancedA repository uses a submodule. How does a developer get the right version of it?BeginnerSubmodules, subtree or a package manager for sharing code between repos?IntermediateCI cannot clone a private submodule: authentication fails in `actions/checkout`.Intermediate