The Asset Nobody Governs
Most enterprises govern their office furniture better than their source code. The furniture has an asset register, a depreciation schedule, and someone who signs for it. The code — the thing that actually runs the business — lives in a few hundred repositories accumulated over a decade, with admin rights held by people who left in 2021, production deploy keys in personal accounts, and at least one business-critical system whose repository nobody can confidently locate.
It stays invisible until it isn't. An auditor asks who approved the change that touched customer data, and the answer is a shrug. A contractor's access outlives the contract by two years. A departing engineer's laptop turns out to be the only place a build actually works. Or the modern version: an AI coding assistant gets pointed at the org and inherits access to every secret ever committed. None of these are engineering problems. They're governance debts, and the invoice always arrives at the worst time.
Why "Trust the Engineers" and "Lock It Down" Both Fail
Enterprises usually swing between two failed postures. The first is benign neglect: engineering owns GitHub, leadership doesn't look, and standards are whatever each team decided in its first sprint. This produces the archaeology problem — every repo a different shape, no way to answer portfolio questions, and risk concentrated in whoever has been there longest.
The reaction is the lockdown: a central team gates every repository creation, every permission change, every merge. This fails more expensively, because friction doesn't eliminate work — it relocates it. Engineers route around the process exactly the way departments route around a rigid ERP: personal repos, zip files on shared drives, unsanctioned tooling. The governance that ignores how delivery actually works becomes the reason shadow engineering exists.
The posture that works treats governance as a platform, not a gate: paved roads that make the compliant path the easiest path, with guardrails enforced by automation instead of committee.
The Framework: Five Decisions, Enforced by Automation
- 1. Ownership: every repository has a named owner. Not a team alias that dissolved in the last reorg — a current team, with a CODEOWNERS file that routes review to the people accountable for the code. Repos with no claimable owner get archived on a schedule. If nobody will own it, the business shouldn't be running on it.
- 2. Access: role-based, time-bound, and boring. Access flows through teams mapped to your org structure, never individual grants. Contractors get expiring access tied to the engagement. Admin rights are rare, audited, and never the default. The test: when someone leaves, does one identity change revoke everything? If offboarding requires a checklist of repositories, governance has already failed.
- 3. Change control: branch protection as policy, not preference. Protected default branches, required reviews, required status checks, no force pushes, no direct commits to main — applied org-wide by ruleset, not left to each team's settings page. This single decision converts "we think changes are reviewed" into "changes are reviewed, provably, with an audit trail" — which is most of what a compliance framework actually asks for.
- 4. Supply chain: know what you ship. Dependency scanning, secret scanning, and signed releases on by default. Secrets live in a vault and reach builds through short-lived identity (OIDC), never committed credentials. When the next headline vulnerability lands, the question "are we exposed?" should be a query, not a three-week inventory project.
- 5. Paved roads: templates over tribal knowledge. New repositories start from templates that carry the standards — CI/CD pipeline, security scanning, review rules, documentation skeleton — so compliance is inherited, not remembered. The golden rule of platform governance: every standard you can bake into a template is a standard you never have to enforce in a meeting.
What Good Looks Like
Mature GitHub governance is measurable and quiet. Every production system traces to an owned repository. Access reviews take an afternoon because the model is simple enough to review. Auditors get evidence exports, not interviews. A departure — voluntary or not — is one identity change. And delivery gets faster, not slower, because engineers stop re-deciding solved problems and new services start on rails.
There's a strategic payoff, too. Governed source control is the substrate for everything the roadmap wants next: AI coding assistants you can adopt without leaking secrets, acquisitions you can integrate in weeks, compliance certifications that stop being annual emergencies. Like most operational excellence, it's invisible when done well — and it's the difference between a technology estate you steer and one you excavate.
Source control discipline is one strand of a broader operational foundation. Our free Cloud Maturity Assessment scores the rest — security, delivery automation, resilience, and cost governance — in twelve questions.
Score your foundation
The free Cloud Maturity Assessment scores security, delivery automation, resilience, and cost governance in twelve questions — with specific next steps for your band.
Take the Cloud Maturity Assessment →Continue Reading
Founder, Splendor Technologies
20+ years in AI, enterprise architecture, and application development. Helping organizations modernize technology and drive measurable business outcomes.
Work with Splendor
Want the paved roads built for you?
A strategy session with an enterprise architect assesses your source control estate and designs the governance platform — ownership, access, rulesets, and templates — that speeds delivery instead of gating it.
Schedule a Strategy Session →