Git plans to make SHA-256 the default object format in Git 3.0
Git 2.51.0 (August 18, 2025) recorded the plan to flip the default hash for new repositories to SHA-256 at the Git 3.0 boundary, and Git 2.52.0 (November 17, 2025) began SHA-1/SHA-256 interoperability work. As of September 2026, LWN reports Git 3.0 is expected in April 2027 alongside a 2.99 long-term-support release, with GitHub's lack of SHA-256 support the main open concern.
Background
Git 3.0 will also default to the reftable ref backend, name the initial branch 'main', and require Rust to build. SHA-1 repositories will remain fully supported. GitLab has supported SHA-256 repositories since 2024 and Forgejo also supports them, but shipping a default that creates repositories GitHub cannot host is the sticking point. This is the largest remaining SHA-1 dependency in everyday developer tooling; existing mitigations rely on sha1collisiondetection rather than on SHA-1 being collision-resistant.
Sources
- standardGit 2.51.0 release notesGit project, github.com
- standardGit 2.52.0 release notesGit project, github.com
- newsLooking forward to Git 2.56 - and 3.0 (September 18, 2026)LWN.net, lwn.net