---
title: "Git 3.0's upcoming SHA-256 default will be a costly mistake"
description: "Git 3.0's planned switch of the default object hash from SHA-1 to SHA-256 will impose large ecosystem-wide migration costs for little practical security benefit."
url: "https://swe.quest/articles/git-3-0-s-upcoming-sha-256-default-will-be-a-costly-mistake-0a2d59e26ee24f96"
canonical: "https://blog.gitbutler.com/git-3-sha-256"
source: "GitButler"
published: "2026-10-01"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 17
tags: ["version-control","cryptography","supply-chain-security"]
---

# Git 3.0's upcoming SHA-256 default will be a costly mistake

A post on [GitButler](https://swe.quest/sources/gitbutler.md), published 2026-10-01, 17 min read, Opinion. Original: [https://blog.gitbutler.com/git-3-sha-256](https://blog.gitbutler.com/git-3-sha-256)

## Summary

Git 3.0's planned switch of the default object hash from SHA-1 to SHA-256 will impose large ecosystem-wide migration costs for little practical security benefit. Second-preimage attacks remain infeasible even for MD5, collision attacks require an attacker to author both files, and real trust in Git comes from where you pull from and signed content, not the hash function. Meanwhile the change brings incompatible repositories, push failures against hosts, submodule splits, broken signatures and SHA-1 links on conversion, and tooling that assumes 40-character hashes.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Version control](https://swe.quest/tags/version-control.md) (Engineering practices)
- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)

## Prerequisites

- Git object model
- cryptographic hash functions

## Keywords

Git 3.0, SHA-1, SHA-256, SHAttered, GitHub, MD5

## Related posts

- [WebKit on GitHub!](https://swe.quest/articles/webkit-on-github-d3587a8b64d71587.md): WebKit · 2022-08-31 · Easy · 2 min read · Version control, Open source, Browsers
  WebKit froze its Subversion tree on June 23rd and moved source control to git hosted on GitHub, citing git's distributed collaboration model, its author/committer model, cheap branch and revert operations, and the fact that most contributors already worked from git-svn mirrors.
- [Behind GitHub’s new authentication token formats](https://swe.quest/articles/behind-github-s-new-authentication-token-formats-568a659054e6e43b.md): GitHub Engineering · 2021-04-05 · Medium · 3 min read · Identity & auth, Security, API design
  GitHub's new token formats add a three-letter identifiable prefix (ghp, gho, ghu, ghs, ghr) with an underscore separator, a CRC32 checksum encoded in Base62 in the last six characters, and a Base62 random portion.
- [Post-quantum security for SSH access on GitHub](https://swe.quest/articles/post-quantum-security-for-ssh-access-on-github-48c898bb38241343.md): GitHub Engineering · 2025-09-15 · Medium · 3 min read · Cryptography, Networking
  GitHub is adding the hybrid post-quantum SSH key exchange sntrup761x25519-sha512 (Streamlined NTRU Prime combined with X25519 ECDH) to its Git SSH endpoints on September 17, 2025.
- [Redesigning source control at Anthropic](https://swe.quest/articles/redesigning-source-control-at-anthropic-ecdbb37746353304.md): Anthropic Engineering · 2026-10-13 · Medium · 17 min read · Version control, System design, Caching, Scaling, AI for coding
  Anthropic replaced git with Scion, an in-house centralized version control system, after its monorepo grew past what git mirrors could serve.
- [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.

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)
