# Git 3.0 looms as GitHub finally gets ready for SHA-256

Original title: Looking forward to Git 2.56 – and 3.0

> Hacker News story 49794736 · language: en · submitted 2026-09-21
> Web version: https://zeli.app/story/49794736
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 198 · by [chmaynard](<https://news.ycombinator.com/user?id=chmaynard>) · 💬 114
[original](<https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/>) · [HN discussion](<https://news.ycombinator.com/item?id=49794736>)

## Summary

Git 2.56, due around the end of September, is a modest release with over 700 non-merge commits and a new git history drop subcommand. But the real news is the next version, likely Git 3.0, which will switch to SHA-256 by default and adopt reftables. GitHub's SHA-256 support has been the main blocker; a GitHub employee now says news is coming, making 3.0 the best choice.

## Key quote

> I think anyone else who is not already extremely far along on SHA-256 (and reftable, for software working with local repositories) is likely not worth considering.

## HN discussion (114 comments)

### [jodersky](<https://news.ycombinator.com/item?id=49797917>)

> It's unfortunate that change IDs aren't considered. There was a discussion [1]
>
> in 2025, and it has resurfaced a couple of times since.
>
> Basically, the idea is to attribute a new kind of ID to an initial 'change'. During review, or whenever a commit is rebased, the change ID is kept, whereas the commit of course changes. This allows tooling to identify all previous versions of a change, and is what enables "per-commit" code review à la Gerrit [2] (which IMO is a much better experience than the branch-review-squash model that GitHub normalized). It's also used in jj, although I'm not familiar with that.
>
> As of today, any tool that wants a change ID needs to somehow encode it in commit message bodies. The proposed discussion was about making a change ID a standard header field that git would natively keep across rebases.
>
> [1] https://lore.kernel.org/git/Z_OGMb-1oV0Ex05e@pks.im/T/#mf941...
>
> [2] https://gerrit-review.googlesource.com/Documentation/user-ch...

### [notpushkin](<https://news.ycombinator.com/item?id=49797947>)

> \> Try LWN for free for 0 month: no payment or credit card required.
>
> Quite a generous offer!
>
> \</aside>

### [harrouet](<https://news.ycombinator.com/item?id=49800256>)

> It seemed obvious to me that the next version number after 2.56 would be 5.12

### [WCSTombs](<https://news.ycombinator.com/item?id=49795191>)

> `git add --resolved` is a wonderful idea, and definitely something I would start using.

### [jakub_g](<https://news.ycombinator.com/item?id=49799813>)

> 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.

### [moebrowne](<https://news.ycombinator.com/item?id=49797639>)

> It appears that BitBucket also does not currently support SHA256 hashes.
>
> https://jira.atlassian.com/browse/BCLOUD-23729

### [KolmogorovComp](<https://news.ycombinator.com/item?id=49795298>)

> Does it mean that when switching trop sha1 to sha256 you need to forcepush and rewrite all history? Wouldn’t that be a massive source of potential vulnerabilities?

### [GTP](<https://news.ycombinator.com/item?id=49798810>)

> Why not transitioning to SHA3 directly? IIRC lenght extension attacks are not currently feasible on SHA2, but still theoretically possible.

---

## Cite

- Page: https://zeli.app/story/49794736
- Date: 2026-09-21
- Source: lwn.net (https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/)
- Hacker News: https://news.ycombinator.com/item?id=49794736

## Other languages

- zh: https://zeli.app/zh/story/49794736 · markdown: https://zeli.app/zh/story/49794736.md
- ja: https://zeli.app/ja/story/49794736 · markdown: https://zeli.app/ja/story/49794736.md
- ko: https://zeli.app/ko/story/49794736 · markdown: https://zeli.app/ko/story/49794736.md
- de: https://zeli.app/de/story/49794736 · markdown: https://zeli.app/de/story/49794736.md
- es: https://zeli.app/es/story/49794736 · markdown: https://zeli.app/es/story/49794736.md
- ru: https://zeli.app/ru/story/49794736 · markdown: https://zeli.app/ru/story/49794736.md
