<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj" -->

---
title: Looking forward to Git 2.56 - and 3.0 | daily.dev
description: Git 2.56, expected around the end of September, brings over 700 non-merge commits including an experimental git history drop subcommand, new git refs...
canonical: https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Looking forward to Git 2.56 - and 3.0 | daily.dev
og:description: Git 2.56, expected around the end of September, brings over 700 non-merge commits including an experimental git history drop subcommand, new git refs...
og:url: https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj
og:image: https://api.daily.dev/og/posts/h3In0tAmJ.png
og:image:alt: Looking forward to Git 2.56 - and 3.0
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Looking forward to Git 2.56 - and 3.0

**[Lobsters](https://daily.dev/sources/lobsters)** · 20 min read · 3 upvotes · 2 comments

## Summary

Git 2.56, expected around the end of September, brings over 700 non-merge commits including an experimental git history drop subcommand, new git refs create/delete/update/rename subcommands, a --delete-merged option for git branch, and a --resolved option for git add, but no fundamental changes. The bigger story is what comes next: Git maintainer Junio Hamano asked the community whether the following release should be Git 3.0, which would bring major compatibility breaks including switching the default hash function from SHA-1 to SHA-256, adopting reftable as the default ref storage (replacing the file-based .git/refs mechanism, important for repos with hundreds of thousands of refs like Android's), rejecting uppercase object IDs, and requiring a working Rust compiler to build Git. GitHub's lack of SHA-256 support has been the main blocker, but GitHub developer brian m. carlson signaled progress is coming and favors calling the next release 3.0. libgit2 has already added reftable and default SHA-256 support, removing one obstacle. No final decision has been publicly announced yet.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://lwn.net/SubscriberLink/1094575/2385e98583715c2b>

## Questions this post answers

### What compatibility breaks will Git 3.0 introduce?

Git 3.0 is expected to switch the default hash function from SHA-1 to SHA-256, make reftable the default ref storage mechanism instead of file-based refs, reject uppercase hexadecimal object IDs (only lowercase will be accepted), and require a working Rust compiler to build Git. Repositories using SHA-1 and lacking reftables will continue to be supported after the switch.

_Teams planning a Git upgrade path can track breaking changes like these through daily.dev before they hit production._

### Why hasn't Git switched to SHA-256 by default yet?

The main blocker has been support at major forge sites, especially GitHub, which does not yet support SHA-256 repositories, even though GitLab has supported it since 2024 and Forgejo also supports it. Non-experimental SHA-256 support has existed in Git since the 2.42 release in 2023. GitHub employee brian m. carlson indicated news on GitHub support was coming.

_Developers weighing a hash-function migration can follow SHA-256 adoption progress on daily.dev before it becomes unavoidable._

### What new subcommands did git refs gain in Git 2.56?

Git refs gained four new subcommands in version 2.56: create, delete, update, and rename, which let developers manipulate references at a low level. This release also added an experimental git history drop subcommand for removing a commit from branch history, though it still fails on histories containing merge commits.

_Anyone tracking new Git subcommands as they ship can follow release details like these on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 180 comments across lobsters, hackernews (as of 2026-09-22).

**TL;DR:** Discussion centers heavily on the practical fallout of a SHA-1 to SHA-256 migration (broken signatures, forge interop, force-pushes) and whether Rust-in-Git is justified for security, while reftable and small usability tweaks get more uniformly positive reception.

**Sentiment:** 20% positive · 45% mixed · 35% skeptical

**The case for**

- Reftable is seen as solving real pain points like weird ref names, case-insensitive collisions, and slow ref lookups at scale.
- git add --resolved and --delete-merged are welcomed as genuinely useful small quality-of-life additions.
- Some argue memory-safe languages like Rust reduce the historically high rate of CVEs found in C binary parsers.

**The pushback**

- Migrating to SHA-256 is seen as extremely disruptive: existing commit signatures become invalid, cross-forge/submodule interop breaks, and every SHA referenced externally becomes stale.
- Skepticism that GitHub's slow SHA-256 support reflects a broader unwillingness to touch fundamental infrastructure.
- Doubts that adding Rust meaningfully improves security given it would only be a small fraction of the codebase, with pushback that this argument itself is weak.
- Concern that requiring a Rust compiler to build Git adds a new hard dependency/coercion for a C-centric ecosystem.
- Some feel Git's long-standing bad defaults (force-with-lease, conflict style, submodule handling) should be addressed but aren't part of the 3.0 discussion.

**By community**

- lobsters (positive): Enjoyed the article's writing style and dry humor, with lighter tangential discussion of merge vs rebase workflows and a passing worry about a Python-2-style migration split.
- hackernews (heated): Long, contentious threads over the practical costs of the SHA-256 transition, whether Rust improves security, and quantum-resistance tangents, alongside more agreeable praise for reftable and small UX fixes.

**Hottest debate:** Whether requiring Rust and switching to SHA-256 are justified given the migration pain and whether memory-safety gains from adding Rust to a mostly-C codebase are meaningful.

**Open questions**

- How exactly will existing commit signatures and external SHA references be handled once repos migrate to SHA-256?
- Will submodules and forges maintain bidirectional SHA-1/SHA-256 mirrors indefinitely, and how will that actually work in practice?
- Will Git 3.0 also address longstanding bad defaults like force-with-lease, conflict style, or submodule recursion?

**Highlights**

> It's much, much worse than that. Yes, you do need to do that. However, there is also much more work after that. Git will not intermingle SHA-256 and SHA-1 enabled repositories, even in things like submodules, so anything used in that manner will need to keep both versions into the indefinite future. If you rely on a submodule that has not yet converted, you will have to convert it yourself and try to keep it up to date, or the forge will have to automatically keep a bidirectional mirror (if you have submodules in various forges, you'll have to wait for all of them to do it), etc. This means that every SHA referenced anywhere on the internet, in commit messages, in issues, in code comments is now invalid and needs a mapping to find the rewritten one for forever. It also means that every commit signature ever made is now invalid and will probably have to be stripped from the rewritten new 256 history because it's impossible to resign everything. Companies like Google and GitHub are working on keeping two versions of each repository so that there can be long stages of ecosystem migrations, but no matter what, it's going to be a huge pain for millions of developers for years to come.
> — [schacon on hackernews](https://news.ycombinator.com/item?id=49798636)

> The comments gives a link to a recent talk about the motivation for using Rust in Git: https://github.com/bk2204/talk-rust-in-git/blob/dev/presenta... I wouldn't agree with all of those reasons, but it's very definitely not "just for the sake of it." One of the better reasons so many people look to writing some things in Rust is that we now have pretty ample evidence than trying to write a binary file format parser in C is a cornucopia of CVEs that are just simply absent in Rust, and the excuse of "well, but a sufficiently smart programmer doesn't write bugs in C" doesn't cut it anymore.
> — [jcranmer on hackernews · 1 comments](https://news.ycombinator.com/item?id=49796467)

> Here are a few: 1. Git push should default to --force-with-lease --force-if-includes. 2. push.autoSetupRemote should be enabled by default. 3. The default conflict style should be zdiff3. 4. diff.submodule should be 'log' by default (gives much nicer submodule diffs). 5. Submodule updates / clones should be recursive by default. (There is a setting for this but I can't remember it.)
> — [IshKebab on hackernews · 2 comments](https://news.ycombinator.com/item?id=49797577)

> I'm looking forward to reftable to become the default. It solves many problems with branches, like branches with weird characters created with non-standard clients making a fetch impossible; case insensitive branches with "same" names doing the same; or impossible to create branch FOO because FOO/Something exists. All those problems just go away when branches are no longer files on disk. I enabled it in setup script of one large repo I maintain; the main issue is the incompatibility with some people's personal tooling based on libgit2 (some git status tooling in oh-my-zsh), but people do find workarounds.
> — [jakub\_g on hackernews](https://news.ycombinator.com/item?id=49799813)

> There is some solid snark in this article 😄 > Unfortunately, it still refuses to work if the history contains merge commits, making it unusable for many (or most) repositories. > It still, though, will say that a branch is "up to date" even if it lags behind an (unfetched) remote tracking branch. > Those commands, create, delete, update, and rename, perhaps surprisingly for Git, do exactly what their names suggest they would.
> — [jbauer on lobsters · 9 points, 2 comments](https://lobste.rs/s/liey8q/looking_forward_git_2_56_3_0#c_tgyjxe)

**Source threads**

- [lobsters](https://lobste.rs/s/liey8q/looking_forward_git_2_56_3_0) · 70 points · 9 comments
- [hackernews](https://news.ycombinator.com/item?id=49794736) · 139 points · 171 comments

## Community discussion

Top comments from developers on daily.dev.

**@agustinbarrientos** · 1 upvotes

> Git 3 migration tests should exercise backup and restore tools too, especially anything that reads the ref files directly.

**@pdfopsdev** · 0 upvotes

> reftable's already proven itself in JGit and at the scale of Android's repo, so that part of 3.0 feels low risk. SHA-256 as default is the scary one since so much tooling still assumes 40 char hashes, github not supporting it yet is doing everyone a favor by forcing that fight now.

## Similar posts on daily.dev

- [Evolving Git for the next decade](https://daily.dev/posts/evolving-git-for-the-next-decade-hysn9z0fm) · Lobsters · 1 upvotes · 0 comments
- [Highlights from Git 2.52](https://daily.dev/posts/highlights-from-git-2-52-4qkhhmx3p) · GitHub Blog · 98 upvotes · 1 comments
- [Git 2.56-rc0 Released With Updated Contribution Guidelines, Improvements For Swift](https://daily.dev/posts/git-2-56-rc0-released-with-updated-contribution-guidelines-improvements-for-swift-ycuj0vo5e) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#git](https://daily.dev/tags/git), [#version-control](https://daily.dev/tags/version-control)

[View this post on daily.dev](https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Looking forward to Git 2.56 - and 3.0","url":"https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj"},"datePublished":"2026-09-22T11:26:15.760Z","dateModified":"2026-09-22T23:12:26.710Z","description":"Git 2.56, expected around the end of September, brings over 700 non-merge commits including an experimental git history drop subcommand, new git refs...","image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","thumbnailUrl":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"github,git,version-control","timeRequired":"PT20M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Looking forward to Git 2.56 - and 3.0"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj","comment":[{"@type":"Comment","text":"Git 3 migration tests should exercise backup and restore tools too, especially anything that reads the ref files directly.","datePublished":"2026-09-28T23:14:18.835Z","url":"https://daily.dev/posts/h3In0tAmJ#c-M0HuI2Dyh","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"reftable’s already proven itself in JGit and at the scale of Android’s repo, so that part of 3.0 feels low risk. SHA-256 as default is the scary one since so much tooling still assumes 40 char hashes, github not supporting it yet is doing everyone a favor by forcing that fight now.","datePublished":"2026-09-22T18:24:14.160Z","url":"https://daily.dev/posts/h3In0tAmJ#c-NniGeOk4M","author":{"@type":"Person","name":"PDFops","url":"https://daily.dev/pdfopsdev","image":"https://media.daily.dev/image/upload/s---8isRBKc--/f_auto/v1782922291/avatars/avatar_orjMeK8QKaaVZwGq7ScPz?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj#faq","mainEntity":[{"@type":"Question","name":"What compatibility breaks will Git 3.0 introduce?","acceptedAnswer":{"@type":"Answer","text":"Git 3.0 is expected to switch the default hash function from SHA-1 to SHA-256, make reftable the default ref storage mechanism instead of file-based refs, reject uppercase hexadecimal object IDs (only lowercase will be accepted), and require a working Rust compiler to build Git. Repositories using SHA-1 and lacking reftables will continue to be supported after the switch. Teams planning a Git upgrade path can track breaking changes like these through daily.dev before they hit production."}},{"@type":"Question","name":"Why hasn't Git switched to SHA-256 by default yet?","acceptedAnswer":{"@type":"Answer","text":"The main blocker has been support at major forge sites, especially GitHub, which does not yet support SHA-256 repositories, even though GitLab has supported it since 2024 and Forgejo also supports it. Non-experimental SHA-256 support has existed in Git since the 2.42 release in 2023. GitHub employee brian m. carlson indicated news on GitHub support was coming. Developers weighing a hash-function migration can follow SHA-256 adoption progress on daily.dev before it becomes unavoidable."}},{"@type":"Question","name":"What new subcommands did git refs gain in Git 2.56?","acceptedAnswer":{"@type":"Answer","text":"Git refs gained four new subcommands in version 2.56: create, delete, update, and rename, which let developers manipulate references at a low level. This release also added an experimental git history drop subcommand for removing a commit from branch history, though it still fails on histories containing merge commits. Anyone tracking new Git subcommands as they ship can follow release details like these on daily.dev."}}]}
```

