What’s new in Git 2.51.0? Note
GitLab

What’s new in Git 2.51.0?

The Git project has released version 2.51.0, featuring a shorter release cycle than usual. This update introduces significant performance optimizations for git-push and git-fetch commands, especially with the reftable backend, leading to substantial speed improvements. A key development is the transition of reftable to become the default reference backend for new repositories, addressing limitations of the older "files" backend. Git 2.51.0 also designates SHA-256 as the default hash function, replacing the less secure SHA-1. The deprecated git-whatchanged command is marked for removal in Git 3.0, requiring explicit flags for continued use. Additionally, the git-switch and git-restore commands, previously experimental, are now stable. These changes, including the default reftable and SHA-256, represent preparations for a future Git 3.0 release. The reftable backend offers advantages like better handling of case sensitivity and unicode characters, efficient reference deletion, and improved housekeeping. Batched updates in git-push and git-fetch reduce overhead, significantly boosting performance with many references. These advancements aim to enhance Git's efficiency and robustness for modern development workflows.