The open-source Git release introduces safer conflict resolution, faster history traversal and improvements for large repositories.
The open-source Git project has released Git 2.56.0, bringing new features and performance improvements developed by more than 104 contributors, including 39 first-time contributors. The release focuses on making common version-control workflows safer while improving Git’s ability to handle large repositories.
One of the notable additions is git add –resolved, which provides a more targeted way to stage files after resolving merge conflicts. Unlike broader staging commands, it considers only paths that are currently unmerged. Git also checks for remaining conflict markers before staging regular files, helping prevent unresolved conflicts from being accidentally committed.
Git 2.56 also improves merge-base calculation, allowing Git to stop searching once it determines that no additional common ancestors can exist. This can significantly reduce the amount of history that needs to be traversed in large repositories. GitHub reported one monorepo case where traversal time dropped from 0.68 seconds to 0.01 seconds, while another Linux kernel case fell from 167,441 traversal steps to 3,887.
The release also makes path-walk repacking more practical for repository hosts. This method groups objects based on their location in a repository’s tree and can produce substantially smaller pack files. In a Fluent UI repository benchmark, path-walk reduced a pack from 558.5MB to 164.4MB. Git 2.56 removes previous restrictions involving reachability bitmaps and delta islands, allowing hosts to evaluate the approach without giving up these mechanisms.
Other changes include new capabilities for the experimental git history and git refs commands, bulk deletion of merged branches, automatic cleanup after git bisect run, improved path tracking with git log –follow, and better handling of partial-clone objects. Several internal optimisations also reduce scaling problems in large repositories, including a reported git diff improvement from about eight minutes to 0.07 seconds in a Chromium checkout with around 500,000 index entries.
















































































