{
  "id": 10493005,
  "title": "Highlights from Git 2.56",
  "url": "https://urgent.news/2026/09/28/highlights-from-git-2-56",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-28T17:23:33.000Z",
  "source": {
    "name": "GitHub Blog",
    "slug": "github-blog",
    "url": "https://github.blog/open-source/git/highlights-from-git-2-56/"
  },
  "original_language": "en",
  "account": "Git 2.56.0 has been released, bringing enhancements and fixes from more than 104 contributors, including 39 new ones. This update focuses on some of the most interesting features and changes introduced since the previous release.\n\nA notable addition is the git add --resolved mode, which allows users to safely stage resolved conflicts without affecting other unrelated changes. When resolving a merge conflict, Git would typically stage all modified paths, even those unrelated to the conflict. This could lead to unintended staging of files still containing conflict markers. Git 2.56 now provides a safer workflow by considering only paths that are unmerged in the index. It scans unmerged regular files for leftover conflict markers and reports the affected paths without staging anything if any conflict markers are found.\n\nAnother significant improvement is in the process of finding common ancestors for various Git operations. Previously, Git had to walk backward from both tips until it found all merge bases, which could be time-consuming in large monorepos. Git 2.56 tracks the number of queued commits painted exclusively by each side, allowing it to stop the traversal once one exclusive side is exhausted. This results in significantly faster performance, with benchmarks showing improvements ranging from 20 times to 70 times in various cases.\n\nLastly, Git 2.56 introduces a more practical approach to repacking repositories, which is particularly beneficial for server environments. Traditional repacking groups candidates using a name hash, but path-walk repacking visits objects by their location in the tree. This often leads to much better delta relationships and substantial storage savings. The new method also removes restrictions regarding reachability bitmaps and delta islands, enabling hosts to experiment with smaller on-disk representations while preserving isolation rules. However, these improvements are not enabled by default and require specific configuration to be activated.",
  "summary": "The open source Git project just released Git 2.56. Here is GitHub's look at some of the most interesting features and changes introduced since last time. The post Highlights from Git 2.56 appeared first on The GitHub Blog .",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}