Is Git decentralized? Mechanically, yes — completely. Clone any repository and you hold a full replica of its content-addressed object store: every blob, every tree, every commit, the entire reachable history, cryptographically self-verifying, no network call required to read any of it. And yet the practical answer most engineers give without thinking twice is “it lives on GitHub.” One company, a Microsoft subsidiary since 2018, hosts a very large share of the world’s actively maintained Git history. Those two facts are both true, and the gap between them is not a contradiction to resolve — it’s an architecture boundary worth naming precisely.

This is not an argument for or against any particular forge. It’s an observation about where a protocol’s boundary actually sits: what Git itself replicates, what a hosting platform bolts on top, and why the second layer — not the first — is where a market consolidated onto one company’s servers.
What Git Actually Distributes
Start with the mechanism, because the word “decentralized” gets used loosely enough that it’s worth being exact about what it means here. Git’s storage layer is a content-addressable object store: every blob, tree, commit, and tag is named by the hash of its own bytes, and a commit points to a complete snapshot tree, never a diff. git clone doesn’t request a filtered view of a server’s data — by default it copies the full object graph, walkable offline, with no privileged node anywhere in the design. Torvalds built it this way from the outset: the initial-commit README describes a “content-addressable collection of objects” with “cryptographically strong signatures at all levels” against corruption, dated April 7, 2005, the day Git began tracking its own source.
Two consequences follow directly from that design, and both are the actual referent of “distributed” here, not a marketing claim:
- Every clone is a peer, not a subordinate cache. A developer’s laptop, a CI runner, and the server everyone calls “origin” hold structurally identical copies of everything they’ve fetched.
originis a name in.git/config, nothing more — Pro Git’s own chapter on remotes is explicit that it is “the default name Git gives to the server you cloned from,” a conventiongit clonewrites for you, not a protocol-level distinction. Point three developers at each other’s laptops instead of a shared host and Git does not notice the difference; it is a peer-to-peer transport (git://,ssh://, plain filesystem paths) with an HTTP option, not an HTTP-first design that happens to tolerate other transports. - History integrity travels with the data, not with a server’s say-so. Because every object is named by its own hash and a commit embeds its parents’ hashes, tampering with any historical object changes every hash downstream of it — detectable by anyone holding a copy, independent of which copy they hold. Git’s own glossary calls the result a directed acyclic graph: a Merkle DAG, precisely, not a blockchain — there’s no consensus protocol or proof-of-work anywhere in the object model, just hash-chained content that can’t be silently rewritten in place.
So the “central repo” in a typical team’s workflow is a social fact, not a technical one. Nothing in Git’s design privileges the machine at github.com/org/repo over the copy on a laptop except that people have agreed to treat it as canonical and push there. That agreement is doing a lot of quiet work, and it’s the seam the rest of this article follows.

Git’s Real Coordination Model Is a Trust Topology, Not a Server
If Git has no privileged server, how does a project with thousands of contributors avoid chaos? The answer predates GitHub by three years and still runs the single largest collaboratively developed piece of software on earth: the Linux kernel, where contribution flows through a documented, hierarchical trust topology, not a central database anyone writes to directly.
The kernel’s own MAINTAINERS file lists a maintainer, or small group of maintainers, for every subsystem. Contributors send patches to the relevant subsystem list; subsystem maintainers accumulate accepted patches in their own trees; and — chiefly during the two-week merge window — those maintainers send Linus Torvalds a pull request, in the original, literal sense: the output of the plumbing command git request-pull, which the kernel’s own pull-request documentation describes as containing “almost everything Linus Torvalds needs to know” to decide whether to merge a subsystem tree: where to pull from, a diffstat, and a shortlog. git request-pull shipped with Git itself in 2005. GitHub’s web-based pull request, a different thing at a different layer — a reviewable UI object with comment threads, not an email-formatted plumbing report — launched years later and borrowed the name for a workflow it did not invent.
Provenance in this model is legal and social, not cryptographic. Every kernel patch carries a Signed-off-by: trailer, which the kernel’s own documentation on submitting patches explains “certifies that you wrote it or otherwise have the right to pass it on as an open-source patch” under the Developer Certificate of Origin — a short, four-clause attestation the contributor implicitly signs by adding the trailer. It is not a CLA and it transfers no copyright; it is a paper trail that makes a maintainer’s decision to merge auditable after the fact, the same way a citation makes a claim checkable. Pro Git has a name for the shape this produces at kernel scale: the “Dictator and Lieutenants Workflow” — regular contributors’ branches flow to subsystem lieutenants, lieutenants’ trees flow to Linus, and Linus’s tree is what everyone else treats as upstream, entirely by convention.
The architectural point generalizes past Git: Git’s answer to “how do tens of thousands of untrusted contributors agree on one history” is not a consensus algorithm. It’s authority delegated to a small number of named, accountable humans, with the audit trail (Signed-off-by:, commit authorship, the pull-request diffstat) making that delegation checkable rather than opaque. Compare that to how Paxos or Raft solve agreement among untrusted nodes computationally, and the kernel’s approach looks almost quaint — until you notice it’s cheaper, more debuggable, and legally coherent in a way a voting protocol isn’t. It is worth asking, of any system you design, whether the coordination problem in front of you actually needs machine consensus or whether an auditable, hierarchical trust chain would do the job more simply.
None of that trust machinery — maintainers, Signed-off-by:, request-pull diffstats — requires a central server either. It is metadata carried inside commits and conveyed by email. Which raises the real question: if neither the data layer nor the original coordination model needed a central company, what did?

The Sticky Part Was Never the Distributed Part
Here is the table worth sitting with, because it’s the whole argument in one shape:
| Layer | Does Git provide this? | Who actually provides it |
|---|---|---|
| Object history (blobs, trees, commits) | Yes — replicated on every clone | Git itself |
| Branching, merging, offline commits | Yes — local, no server round-trip | Git itself |
| Cryptographic integrity of history | Yes — hash-chained objects | Git itself |
| User accounts, authentication, SSO | No | The forge (GitHub, GitLab, Forgejo, …) |
| Access control, org roles, branch protection | No | The forge |
| Issues, project boards, milestones | No | The forge |
| Pull/merge requests as a reviewable UI object | No — git request-pull is a plumbing command, not a tracked object | The forge |
| Code review comment threads | No | The forge |
| CI/CD pipelines | No | The forge (or a separate CI product) |
| Cross-repo discovery and search | No | The forge |
Every row a team actually lives inside day to day — where’s the bug tracker, who approved this change, will the build pass, can this contractor push to main — is a forge invention layered on top of a tool that has no concept of an account, a permission, or a pull request as a persistent, commentable object. Git has no notion of “who is allowed to write here”; that’s enforced entirely by whoever controls the server a repository happens to be pushed to. This is the load-bearing fact the whole centralization story turns on: the distributed part of Git was never the sticky part. Replicating an immutable, hash-verified object graph is a solved, almost boring problem — Git solved it in 2005 and it hasn’t needed reinventing since. Coordinating humans — who reviews what, who’s authorized, where the build logs live, how a newcomer finds the right repository among millions — is the unsolved, valuable, continuously-worked-on problem, and it lives entirely above the protocol, in software Git’s specification says nothing about.

That’s exactly the layer where network effects operate normally. A forge that already hosts your issues, your CI history, your reviewers’ muscle memory, and the OAuth identity half your other tools trust becomes more valuable to stay on as more people use it — the standard dynamic behind any platform, applied to a substrate that happens to be fully replicable underneath. Discovery compounds it: search engines, package registries, and “star” counts all point at whichever host accumulated the most repositories first, which is not a property of Git at all. None of this required Git to compromise on distribution; it required humans to agree on where the coordination layer would live, and that agreement snowballed the way agreements with network effects do.

The clearest single data point for how far that snowball rolled: Microsoft announced its intent to acquire GitHub for $7.5 billion in stock on June 4, 2018, and the deal closed October 26, 2018. GitHub kept its own leadership and branding, but a very large share of the world’s Git-hosted open-source activity, discovery, and CI now runs under one commercial parent. Nothing about that acquisition touched Git the protocol — every repository GitHub hosts remains, mechanically, a fully replicable object graph any contributor can clone in full. What Microsoft bought was the coordination layer: the accounts, the issue trackers, the Actions runners, the network effect of being the place code discovery defaults to. That is the precise sense in which “Git is distributed, but everyone’s code lives on one company’s servers” is not a paradox — it’s two accurate statements about two different layers of the same stack.
The Counter-Movement: Verified, Honest Status
A real counter-movement exists, built specifically on the observation above: if the coordination layer is what centralized, the coordination layer is what needs decentralizing, not the object store underneath it (which was never centralized to begin with). The honest state of that movement, checked project by project rather than taken on faith, is mixed — some pieces are production-solid, others are genuinely early.
Forgejo and Codeberg are the furthest along. Forgejo began as a hard fork of Gitea in December 2022, after Gitea’s original maintainer transferred the project’s trademarks and operations into a for-profit company and began shifting toward an open-core model; contributors who wanted community-held governance forked rather than negotiate a reversal. Codeberg e.V., a registered German nonprofit association, holds Forgejo’s domains and trademarks specifically to prevent a repeat of that outcome, and migrated its own public instance from Gitea to Forgejo in April 2023. Forgejo relicensed from MIT to GPLv3-or-later in August 2024, framed by the project as “copyleft, just like Git” itself. Gitea, the project Forgejo split from, remains real, mature, MIT-licensed, and widely self-hosted — under commercial stewardship (today from CommitGo, Inc., per Gitea’s own site) rather than a community foundation, the same for-profit governance shape that drove the December 2022 fork in the first place.
Radicle takes the architecture further than either: a peer-to-peer code collaboration stack, dual-licensed Apache-2.0/MIT, with no central server at all — repositories replicate directly between peers over Radicle’s own network protocol, and the project’s own description positions it as “a secure, decentralized and powerful alternative to centralized code forges… that preserves user sovereignty.” Notably, the Radicle team develops Radicle using Radicle rather than hosting their own canonical repository on GitHub — a real, if small-scale, proof that peer-to-peer forge collaboration works in practice, not just on paper.
sourcehut takes a different, older-is-newer approach: no pull request feature at all, by design. It describes itself as “the hacker’s forge,” built around mailing lists and git send-email — the same patch-by-email review model the Linux kernel has used since before Git existed — with its own code released as open source under a mix of AGPL and BSD-family licenses, and no venture funding behind it. It’s a useful reminder that the pull-request UI most engineers now assume is mandatory is a forge convention, not a coordination requirement; email-based review is a live, current alternative, not a historical curiosity.
ForgeFed is the piece that’s honestly still early, and the honest framing matters more here than anywhere else in this list. ForgeFed is an ActivityPub-based federation protocol, developed with NLnet Foundation funding, intended to let issues, pull requests, and reviews cross forge boundaries the way email crosses mail-server boundaries. As of this writing it works — but chiefly between Forgejo instances, and for a limited feature set (repository “stars” federate; broader collaboration objects are still in development). That’s a meaningfully different claim than “forges federate now,” and conflating the two overstates where the project actually is.
| Project | What it is | Governance | License | Federation / decentralization | Honest maturity |
|---|---|---|---|---|---|
| Forgejo | Self-hostable forge (Gitea hard fork) | Community-defined, domains/trademarks held by Codeberg e.V. | GPLv3+ (since Aug 2024; MIT before) | Building ForgeFed/ActivityPub support | Production-ready forge; federation nascent |
| Gitea | Self-hostable forge | Commercial (CommitGo) | MIT | None built in | Mature, widely deployed; company-governed |
| Radicle | Peer-to-peer code collaboration network | Open project, no central operator | Apache-2.0 / MIT (dual) | Native — no central server by design | Working, real-world dogfooded; small adoption |
| sourcehut | Hosted + self-hostable forge, email-based review | Single company (no VC funding) | Mixed AGPL/BSD components | None (relies on existing email federation, not ForgeFed) | Mature and stable; deliberately minimal by design |
| ForgeFed | Federation protocol, not a forge itself | Spec developed with NLnet funding | Protocol spec | ActivityPub-based | Genuinely nascent — mostly Forgejo-to-Forgejo today |

None of these projects is a drop-in replacement for the network effects a decade-plus incumbent accumulated — that’s not a knock on their engineering, it’s an honest statement about what network effects cost to unwind. What they collectively demonstrate is that the coordination layer is buildable in the open, community-governed, and even federated in principle. What none of them have fully solved yet is making that layer as portable as the object store underneath it always was.
What Would Have to Become Portable for Lock-In to End
Here’s where the analysis actually points. Git solved data portability completely, on day one, in 2005: clone a repository anywhere and you own a full, verifiable copy of its history, forever, with no permission required. Nobody worries about “object-store lock-in” because there isn’t any — that problem was closed by the object model itself. The lock-in that does exist lives entirely in the layer Git never touched, and it has a specific, enumerable shape:
- Issues and their history. Bug reports, discussion threads, labels, and the audit trail of who said what and when — none of it is a Git object, none of it clones with the repository, and no widely adopted export format preserves it losslessly across forges.
- Pull/merge request review history. The diffs themselves are just Git commits and can move freely. The conversation about them — inline comments, approval records, CI status at the time of merge — is forge-proprietary data with no standard interchange format.
- Identity. A GitHub account, an SSH key registered against it, an OAuth grant trusted by a dozen other tools — none of that travels with a
git clone. Move the code and you leave the reputation, the review history tied to that identity, and every integration keyed to that account behind. - CI/CD configuration. A
.github/workflows/*.ymlfile is portable text, but the runners, secrets store, caching layer, and marketplace of third-party actions it invokes are not — rewriting a pipeline for a different forge is real engineering work, not a find-and-replace.

That list is really one idea stated four ways: the immutable content layer replicated perfectly from the start; the mutable coordination layer is exactly where a single company was able to build a moat, because nothing forced it to be portable too. That’s a pattern worth carrying into other systems, not just this one — anywhere a core data structure is fully replicable but the metadata about that data (reviews, identity, provenance, pipeline config) is locked to whichever platform happened to host it first, the platform’s real leverage was never the data. ForgeFed’s bet, still mostly unproven at scale, is that issues and pull requests can become as portable as commits already are. Until something like that actually ships across more than one forge implementation, “Git is decentralized” and “your code lives on one company’s servers” will keep being two true sentences about two different layers of the same system — not a contradiction, just an accurate description of where the protocol’s boundary actually sits.
❓ Frequently Asked Questions
Is Git decentralized? Yes, at the object-storage layer: every git clone produces a complete, cryptographically self-verifying replica of a repository’s history, and no machine is structurally privileged over any other. What Git does not distribute is the coordination layer — accounts, issues, pull requests, CI, and access control — which is why “Git is decentralized” and “most code lives on one company’s servers” are both true at once, describing different layers.
If Git is decentralized, why does everyone use GitHub? Because GitHub (and forges generally) provide the coordination features Git itself lacks — accounts, issue trackers, reviewable pull requests, CI, and discovery — and those features benefit from network effects the underlying object store never needed. Once a critical mass of projects, reviewers, and integrations settled on one host, staying there became individually rational even though nothing about Git’s design requires it.
What’s the actual difference between Git and a Git forge like GitHub or GitLab? Git is the protocol and storage format: a content-addressable object store plus a DAG of commits, with no concept of a user account or a pull request. A forge is a hosted (or self-hosted) product built on top of Git that adds the things teams actually coordinate through — authentication, access control, issue tracking, a reviewable pull-request UI, and CI/CD. Git has no opinion about any of that layer.
Does Microsoft own Git? No. Microsoft owns GitHub, a hosting company and product, which it acquired for $7.5 billion in a deal that closed October 26, 2018. Git itself is free software maintained independently of any single company, stewarded by Junio Hamano with the Software Freedom Conservancy holding the “Git” trademark specifically to keep the project’s identity unambiguous.
What are Forgejo, Gitea, Radicle, and sourcehut? They’re forges (or, for Radicle, a peer-to-peer alternative to a forge) built to keep the coordination layer more open than the dominant hosted options. Forgejo is a community-governed hard fork of Gitea, stewarded by the nonprofit Codeberg e.V.; Gitea is the mature, MIT-licensed project it forked from, now under commercial ownership; Radicle replicates repositories directly between peers with no central server; sourcehut drops pull requests entirely in favor of mailing-list-based review, the way the Linux kernel has worked for two decades.
Will forge federation ever let GitHub, GitLab, and Forgejo interoperate like email servers do? Not yet, and not soon by the evidence available now. ForgeFed, the ActivityPub-based protocol built for this, currently federates chiefly between Forgejo instances and only for a limited set of objects — repository “stars” federate; broader issue and pull-request federation is still in development. It’s a genuine, funded effort at the right layer, but describing it as solved today would overstate where the project actually is.
📚 Further Reading
- A Code Review Rubric for AI-Generated Pull Requests — a closer look at the pull-request layer this article calls out as a forge feature, not a Git one.
- Human PR Review of AI Agents: The Judgment Ratchet — why the review conversation itself, not the diff, is the part that doesn’t travel between forges.
- The Agentic Development Loop, Explained for Engineers — how the coordination layer this piece describes is being reshaped again, this time by AI agents working inside it.
- What is MCP? The Protocol That Lets AI Connect to Your Apps — a current example of the opposite bet: an open protocol designed for portability from day one, the question ForgeFed is trying to answer for forges after the fact.
- Learning the Brilliance of Graph Theory: From Mazes to Complex Networks — the graph-theory foundations under Git’s DAG, for readers who want the object model from first principles.
📚 Recommended Resources
Disclosure: some links below are Amazon affiliate links. If you buy through them, I earn a small commission — at no extra cost to you — which helps keep this site running.
Pro Git
Scott Chacon & Ben Straub · 2nd ed., Apress · Paperback · ~$40 on Amazon
The primary source behind this article’s “Dictator and Lieutenants Workflow” section and the trust-topology argument generally. It’s also free in full, under CC BY-NC-SA 3.0, at git-scm.com/book — read it there first; buy the print copy if you want it on a shelf.
The Cathedral and the Bazaar
Eric S. Raymond · O’Reilly · Paperback · ~$20 on Amazon
Predates Git by six years but is the essay that framed the governance question this article is really about: what makes a distributed contributor base cohere without a central authority. The title essay is free at catb.org under the Open Publication License — the paid edition collects the full book of essays around it.
Designing Data-Intensive Applications
Martin Kleppmann & Chris Riccomini · 2nd ed., O’Reilly · Paperback, ~670 pp · ~$60 on Amazon
For readers who want the distributed-systems vocabulary this article assumes made explicit and generalized — replication, consistency, and the immutable-log patterns that Git’s object model is one specific, brilliant instance of.
Building Git
James Coglan · ebook only (PDF/ePub/Kindle) · No Amazon listing exists
Not on Amazon — verified against the author’s own storefront, which sells it exclusively as a digital download with no ISBN and no print edition. If you want to actually build the object store and DAG this article describes, by hand, in a real language, this is the book: shop.jcoglan.com/building-git (non-Amazon purchase, no affiliate link).