---
title: "Redesigning source control at Anthropic"
description: "Anthropic replaced git with Scion, an in-house centralized version control system, after its monorepo grew past what git mirrors could serve."
url: "https://swe.quest/articles/redesigning-source-control-at-anthropic-ecdbb37746353304"
canonical: "https://www.anthropic.com/research/redesigning-source-control"
source: "Anthropic Engineering"
published: "2026-10-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 17
tags: ["version-control","system-design","caching","scalability","ai-coding"]
---

# Redesigning source control at Anthropic

A post on [Anthropic Engineering](https://swe.quest/sources/anthropic.md), published 2026-10-13, 17 min read, Case study. Original: [https://www.anthropic.com/research/redesigning-source-control](https://www.anthropic.com/research/redesigning-source-control)

## Summary

Anthropic replaced git with Scion, an in-house centralized version control system, after its monorepo grew past what git mirrors could serve. Merges went from about 2,500 to over 30,000 per day, main-branch history approached 100 GB, and CI ran around 25 million checkouts a day. Scion assumes clients are always online and keeps commits, merges, blame and history on a horizontally scalable server backed by Spanner. Changesets live in a write-ahead log with recursively computed derived data, and clients fetch content-addressed trees and blobs through tiered caches. The result is a footprint 200x smaller than the old git mirrors, checkouts measured in seconds instead of minutes, and a 25% CI CPU saving, built by a team of seven in five months with heavy Claude assistance.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Version control](https://swe.quest/tags/version-control.md) (Engineering practices)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)

## Prerequisites

- git internals
- monorepos
- content-addressed storage
- tiered caching ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))

## Keywords

Scion, git, Spanner, Antique, Claude, Piper, Sapling

## Related posts

- [Scaling Git at OpenAI](https://swe.quest/articles/scaling-git-at-openai-cd141be9cdce804b.md): OpenAI · 2026-11-02 · Hard · 24 min read · Version control, Distributed systems, Consistency models, Scaling, Storage systems
  Pando is OpenAI's new Git backend for its monorepo, built to handle the concurrent pushes and fetches generated by Codex-driven parallel development while staying fully compatible with the Git protocol and client.
- [Sapling: Source control that’s user-friendly and scalable](https://swe.quest/articles/sapling-source-control-that-s-user-friendly-and-scalable-ac4727ee939b435e.md): Meta Engineering · 2022-11-15 · Easy · 11 min read · Version control, Developer tools, Code review, Scaling, Open source
  Meta has open-sourced the client for Sapling, a Git-compatible source control system built over 10 years that scales to repositories with tens of millions of files, commits and branches.
- [Building Git infrastructure for agent-scale development](https://swe.quest/articles/building-git-infrastructure-for-agent-scale-development-3f8b84d59639a2ff.md): GitHub Engineering · 2026-10-06 · Easy · 8 min read · Version control, Distributed systems, Scaling, Replication, Storage systems
  GitHub is rebuilding its Git storage layer because agent-driven workloads are colliding with the design of Spokes.
- [The bridge to agent-scale Git infrastructure](https://swe.quest/articles/the-bridge-to-agent-scale-git-infrastructure-d844fd2db4fef4f7.md): GitHub Engineering · 2026-10-21 · Medium · 7 min read · Replication, Distributed systems, Scaling, Version control, Storage systems
  GitHub has moved nearly all Git repositories to replicas split between its own data centers and Azure.
- [Branching in a Sapling Monorepo](https://swe.quest/articles/branching-in-a-sapling-monorepo-3c90aca74756181a.md): Meta Engineering · 2025-10-16 · Medium · 7 min read · Version control, Developer tools, Build systems
  Meta's Sapling monorepo handles branching with two workflows: non-mergeable full-repo branching via sl bookmark for short-lived release branches, and mergeable directory branching via sl subtree for long-lived variants.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
