# Git changelog > The distributed version control system behind nearly all software. - Vendor: Git - Category: Developer Tools - Official site: https://git-scm.com - Tracked by: What's New (https://whatsnew.fyi/product/git) - Harvested from: Blog (https://github.com/git/git/tags.atom) - Entries below: 21 (newest first) What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## Releases ### v2.54.1 - Date: 2026-11-03 - Version: v2.54.1 - Original notes: https://github.com/git/git/releases/tag/v2.54.1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.54.1 - **security** — Merges up the fix from v2.50.2, v2.51.3, v2.52.1 and v2.53.1 addressing CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437 - **fixed** — Headers from glibc 2.43 used with clang no longer prevent disabling C11 language features, which had caused build failures - **fixed** — Reverted a recent change that introduced a regression affecting mksh users - **changed** — Various GitHub Actions versions were updated - **fixed** — The test avoids hitting the pathname limit for the socks proxy socket - **fixed** — Files whose contents are still mmap()'ed are no longer removed, to help Windows 10 installations - **removed** — The unmaintained custom allocator is no longer used in the Windows build, as it was the last user of that code - **fixed** — Further update to the i18n alias support to avoid regressions Git v2.54.1 Release Notes ========================= This release merges up the fix that appears in v2.50.2, v2.51.3, v2.52.1 and v2.53.1 to address CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437; see the release notes for these versions for details. * Headers from glibc 2.43 when used with clang does not allow disabling C11 language features, causing build failures.. * Revert a recent change that introduced a regression to help mksh users. * Update various GitHub Actions versions. * Avoid hitting the pathname limit for socks proxy socket during the test. * To help Windows 10 installations, avoid removing files whose contents are still mmap()'ed. * Stop using unmaintained custom allocator in Windows build which was the last user of the code. * Further update to the i18n alias support to avoid regressions. Also contains minor documentation updates and code clean-ups. ### v2.52.1 - Date: 2026-11-03 - Version: v2.52.1 - Original notes: https://github.com/git/git/releases/tag/v2.52.1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.52.1 - **security** — Merges the fix from v2.50.2 and v2.51.3 addressing CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437 Git v2.52.1 Release Notes ========================= This release merges up the fix that appears in v2.50.2 and v2.51.3 to address CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437; see the release notes for these versions for details. ### v2.53.1 - Date: 2026-11-03 - Version: v2.53.1 - Original notes: https://github.com/git/git/releases/tag/v2.53.1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.53.1 - **security** — Merges the fix from v2.50.2, v2.51.3 and v2.52.1 addressing CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437 Git v2.53.1 Release Notes ========================= This release merges up the fix that appears in v2.50.2, v2.51.3 and v2.52.1 to address CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437; see the release notes for these versions for details. ### v2.50.2 - Date: 2026-11-03 - Version: v2.50.2 - Original notes: https://github.com/git/git/releases/tag/v2.50.2 - Permalink: https://whatsnew.fyi/product/git/releases/v2.50.2 - **security** — Recursive clones no longer allow an attacker-controlled repository to overwrite a gitfile with a symbolic link that points to a directory containing malicious config or hooks (CVE-2026-111760). - **security** — A server advertising an unborn HEAD containing path-traversal characters is now rejected, preventing ref updates from writing to unintended files (CVE-2026-113408). - **security** — Stripping GPG signatures from a commit message now handles more than two signatures, fixing a stack memory corruption triggered by merging a tag with many signatures (CVE-2026-114467). - **security** — Binary patches that inflate to a very large size are now checked against the size limit, preventing an out-of-bounds read crash (CVE-2026-114469). - **security** — Buffer size computation for merge results is corrected to prevent overflow with large numbers of conflicts and a large conflict-marker-size, fixing heap corruption (CVE-2026-105437). - **security** — The fast-import features rewrite-submodules-to, rewrite-submodules-from, and the export-pack-edges option are now disallowed by default because they can read from arbitrary paths (CVE-2026-114466). - **security** — Cache entries with over-long names are now rejected in read-cache as a defense-in-depth measure. - **changed** — HTTP header redaction code is adjusted to handle the trace output of newer cURL library versions. - **changed** — The imap-send command is adjusted to work with OpenSSL 4.0. - **changed** — GitHub CI runners are updated from macos-13 to macos-14 and from macos-14 to macos-15. - **fixed** — A workaround is added for a macOS 14 and 15 iconv library bug that fails to correctly handle stateful ISO/IEC 2022 encoded strings. - **fixed** — CI jobs broken on Ubuntu 25.10 by the switch to sudo-rs are fixed. - **changed** — The dockerized CI job raises the PID limit for private repositories. - **changed** — The debian-11 CI job is bumped to debian-12. - **changed** — CVS and P4 tests are skipped in the leaks CI job. - **changed** — The mingw build no longer defines -D_USE_32BIT_TIME_T, no longer uses nedmalloc, and only uses -Wl,--large-address-aware for 32-bit builds. - **changed** — GitHub Actions jobs are updated to avoid warnings about using a deprecated version of Node.js. Git v2.50.2 Release Notes ========================= This addresses the security issues CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437. This release also backports fixes necessary to let the CI builds pass successfully. Fixes since v2.50.1 ------------------- * CVE-2026-111760: Recursive clones are susceptible to Remote Code Execution: an attacker-controlled repository can be crafted in a way that exploits a bug in Git whereby Git can be fooled into overwriting a gitfile (used for submodules) with a symbolic link that then points to a directory with malicious config or hooks. The config or hooks may have attacker-specified code. See for details. * CVE-2026-113408: It is possible for a server to advertise an unborn HEAD that contains path-traversal characters (e.g., `refs/heads/../../../TARGET`). With the files ref backend that can lead to ref-updating actions to write to unwanted files. See for details. * CVE-2026-114467: When Git strips the GPG signatures from a commit message, it only accounts for two signatures. A commit message containing more than two signatures therefore causes a stack memory corruption. This can be triggered when using `git merge` with a tag which contains more than two signatures. As such, this makes way for a DoS attack which can potentially also affect forges when such a tag is pushed to a remote and a merge action is initiated. See for details. * CVE-2026-114469: Git rejects patches larger than ~1 GiB, because its patch application code does not work well with large files. That check, however, only considered the size of the patch as it appears in the input, which for binary patches is much smaller than the size of the file the patch describes, as binary patches are compressed and encoded. A binary patch that inflates to a very large size therefore slipped past the check and crashed Git with an out-of-bounds read. See for details. * CVE-2026-105437: When merging, Git computes the size of the buffer holding the merge result in a way that can overflow for very large merges, which can be triggered by a large number of conflicts combined with a large `conflict-marker-size`. The resulting buffer can then be too small, and Git writes past its end (and, before and after that, before its start), corrupting the heap. See for details. * CVE-2026-114466: In response to CVE-2019-1348, `fast-import` disallows the `export-marks` feature by default. The features `rewrite-submodules-to` and `rewrite-submodules-from` as well as the option `export-pack-edges` that were introduced in the meantime also allow reading from arbitrary paths, and are therefore now also disallowed by default. See for details. * Defense-in-depth: read-cache: reject cache entries with over-long names. * Various fix-ups on HTTP tests. * Test update. * HTTP Header redaction code has been adjusted for a newer version of cURL library that shows its traces differently from earlier versions. * The `imap-send` command was adjusted to work with OpenSSL 4.0. * Replace macos-13 used at GitHub CI with macos-14, and macos-14 with macos-15. * Work around a bug in the iconv library shipped with macOS 14 and 15 that fails to correctly handle stateful ISO/IEC 2022 encoded strings. * ci: fix broken jobs on Ubuntu 25.10 caused by switch to sudo-rs(1). * ci(dockerized): raise the PID limit for private repositories. * ci: bump debian-11 job to debian-12. * ci: skip CVS and P4 tests in leaks _[Truncated at 4000 characters — full notes: https://github.com/git/git/releases/tag/v2.50.2]_ ### v2.51.3 - Date: 2026-11-03 - Version: v2.51.3 - Original notes: https://github.com/git/git/releases/tag/v2.51.3 - Permalink: https://whatsnew.fyi/product/git/releases/v2.51.3 - **security** — Merges the fix from v2.50.2 addressing CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437 Git v2.51.3 Release Notes ========================= This release merges up the fix that appears in v2.50.2 to address CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437; see the release notes for that version for details. ### v2.55.1 - Date: 2026-11-03 - Version: v2.55.1 - Original notes: https://github.com/git/git/releases/tag/v2.55.1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.55.1 - **security** — Merges the fix from v2.50.2, v2.51.3, v2.52.1, v2.53.1 and v2.54.1 addressing CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437 Git v2.55.1 Release Notes ========================= This release merges up the fix that appears in v2.50.2, v2.51.3, v2.52.1, v2.53.1 and v2.54.1 to address CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437; see the release notes for these versions for details. ### v2.56.1 - Date: 2026-10-26 - Version: v2.56.1 - Original notes: https://github.com/git/git/releases/tag/v2.56.1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.56.1 - **security** — Merges up the fix from v2.50.2, v2.51.3, v2.52.1, v2.53.1, v2.54.1 and v2.55.1 that addresses CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437 Git v2.56.1 Release Notes ========================= This release merges up the fix that appears in v2.50.2, v2.51.3, v2.52.1, v2.53.1, v2.54.1 and v2.55.1 to address CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437; see the release notes for these versions for details. ### v2.56.0 - Date: 2026-09-28 - Version: v2.56.0 - Original notes: https://github.com/git/git/releases/tag/v2.56.0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.56.0 - **changed** — Update advice shown by git status when the local branch is behind or has diverged from its push branch to suggest git pull - **changed** — Update handling of promisor-remote protocol capability to allow the other side to add to the list of promisor remotes via the promisor.acceptFromServerURL configuration variable - **changed** — Harden the ort merge backend against corrupt trees by ensuring it aborts under appropriate error conditions - **added** — Add fetch.followRemoteHEAD configuration variable to provide a default for the per-remote remote..followRemoteHEAD setting - **changed** — Update git log --follow to better handle non-linear history in which the path being tracked gets renamed differently in multiple history lines - **changed** — Teach git repo info command new keys to output both absolute and relative paths for gitdir and commondir - **changed** — Recognize git push origin/main or git branch origin main as a potential typo and add advice to offer a typo fix - **added** — Extend git refs toolbox with new create, delete, update, and rename subcommands - **added** — Teach experimental git history command a new drop subcommand to remove a commit with its descendants replayed onto its parent - **changed** — Optimize alignment of commit object name abbreviations in git blame output to reserve a column for marks only when such marks are actually shown - **changed** — Update option parsing with git rev-parse --parseopt and most git subcommands to exit with 0 instead of 129 when the help option is requested directly by the user - **added** — Teach the [includeIf "condition"] conditional inclusion facility for configuration files to use the location of the worktree in its condition - **changed** — Standardize the usage string and SYNOPSIS for git fast-export to make them consistent with each other and other commands - **changed** — Modify git log --graph to visually distinguish parentless root commits by indenting them - **added** — Add userdiff patterns for Swift with support for Swift-specific constructs such as attributes, modifiers, failable initializers, and generics - **changed** — Update configuration file locking to retry for a short period to avoid failures when multiple processes attempt to update the configuration simultaneously - **added** — Add remote-object-info command to git cat-file --batch-command to allow clients to request object metadata from a remote server via protocol v2 without downloading the entire object - **changed** — Teach git branch -d to report when a branch cannot be deleted because it is being used in an active bisect run - **changed** — Update git mv to check for a missing destination leading directory during the checking phase and improve the error message when the rename syscall fails - **added** — Teach git add a new --resolved option to stage conflict-resolved paths while leaving unrelated local changes unstaged Git v2.56 Release Notes ======================= UI, Workflows & Features ------------------------ * Advice shown by "git status" when the local branch is behind or has diverged from its push branch has been updated to suggest "git pull ". * The handling of promisor-remote protocol capability has been updated to allow the other side to add to the list of promisor remotes via the 'promisor.acceptFromServerURL' configuration variable. * The 'ort' merge backend has been hardened against corrupt trees by ensuring it aborts under appropriate error conditions. * The `fetch.followRemoteHEAD` configuration variable has been added to provide a default for the per-remote `remote..followRemoteHEAD` setting. * "git log --follow" has been updated to better handle non-linear history, in which the path being tracked gets renamed differently in multiple history lines. * The "git repo info" command has been taught new keys to output both absolute and relative paths for "gitdir" and "commondir", supported by a new path-formatting helper extracted from "git rev-parse". * When 'git push origin/main' or 'git branch origin main' is run, the command is now recognized as a potential typo, and advice has been added to offer a typo fix. * The 'git refs' toolbox has been extended with new 'create', 'delete', 'update', and 'rename' subcommands to create, delete, update, and rename references, respectively. * The experimental 'git history' command has been taught a new 'drop' subcommand to remove a commit, with its descendants replayed onto its parent. * The alignment of commit object name abbreviations in 'git blame' output has been optimized to reserve a column for marks (caret, question mark, or asterisk) only when such marks are actually shown. * Option parsing with 'git rev-parse --parseopt' and in most 'git' subcommands has been updated to exit with 0 (instead of 129) when the help option ('-h' or '--help') is requested directly by the user, aligning with standard Unix convention. * The '[includeIf "condition"]' conditional inclusion facility for configuration files has been taught to use the location of the worktree in its condition. * The usage string and SYNOPSIS for 'git fast-export' have been standardized to make them consistent with each other and with other commands. * 'git log --graph' has been modified to visually distinguish parentless 'root' commits (and commits that become roots due to history simplification) by indenting them, preventing them from appearing falsely related to unrelated commits rendered immediately above them. * Userdiff patterns for Swift have been added, with support for Swift-specific constructs such as attributes, modifiers, failable initializers, and generics. * Configuration file locking has been updated to retry for a short period, avoiding failures when multiple processes attempt to update the configuration simultaneously. * The 'remote-object-info' command has been added to 'git cat-file --batch-command', allowing clients to request object metadata (currently size) from a remote server via protocol v2 without downloading the entire object. Format placeholders are dynamically filtered on the client based on server-advertised capabilities, returning empty strings for inapplicable or unsupported fields. * 'git branch -d' has been taught to report when a branch cannot be deleted because it is being used in an active bisect run. * 'git mv' has been updated to check for a missing destination leading directory during the checking phase, allowing 'git mv -n' to report the failure. The error message when the rename(2) syscall fails has also been improved to name both the source and the destination. * 'git add' has been taught a new '--resolved' option to stage conflict-resolved paths, while leaving unrelated local changes un _[Truncated at 4000 characters — full notes: https://github.com/git/git/releases/tag/v2.56.0]_ ### v2.56.0-rc2 - Date: 2026-09-22 - Version: v2.56.0-rc2 - Original notes: https://github.com/git/git/releases/tag/v2.56.0-rc2 - Permalink: https://whatsnew.fyi/product/git/releases/v2.56.0-rc2 - Labels: Pre-release ### v2.56.0-rc1 - Date: 2026-09-16 - Version: v2.56.0-rc1 - Original notes: https://github.com/git/git/releases/tag/v2.56.0-rc1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.56.0-rc1 - Labels: Pre-release ### v2.56.0-rc0 - Date: 2026-09-10 - Version: v2.56.0-rc0 - Original notes: https://github.com/git/git/releases/tag/v2.56.0-rc0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.56.0-rc0 - Labels: Pre-release ### v2.55.0 - Date: 2026-06-29 - Version: v2.55.0 - Original notes: https://github.com/git/git/releases/tag/v2.55.0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.55.0 - **added** — Hook scripts defined via the configuration system can now be configured to run in parallel - **changed** — The userdiff driver for the Scheme language has been extended to cover other Lisp dialects - **changed** — Terminal control sequences coming over the sideband while talking to a remote repository are mostly disabled by default, except for ANSI color escape sequences - **changed** — git checkout -m another-branch was taught to create a stash to save the local changes - **added** — A new builtin git format-rev is introduced for pretty formatting one revision expression per line or commit object names found in running text - **added** — git history learned fixup command - **added** — A new subcommand git url-parse makes the internal URL parsing logic accessible - **fixed** — Misspelt proxy URL (e.g., httt://) now triggers a warning or failure - **changed** — The command line parser for git diff learned a few options take only non-negative integers - **changed** — The graph output from commands like git log --graph can now be limited to a specified number of lanes - **added** — The fsmonitor daemon has been implemented for Linux - **added** — git cat-file --batch learns an in-line command mailmap that lets the user toggle use of mailmap - **changed** — The git pack-objects --path-walk traversal has been integrated with several object filters, including blobless and sparse filters - **added** — git push learned to take a remote group name to push to, which causes pushes to multiple places - **added** — The git-jump command in contrib/ has been taught to automatically pick a mode when invoked without arguments - **added** — git rev-list and git log family of commands learned a new --max-count-oldest that picks oldest N commits in the range - **changed** — Rust support is enabled by default - **changed** — In a lazy clone, git cherry and git grep have been corrected to collect necessary object names and fetch them in bulk - **changed** — The repacking code has been refactored and compaction of MIDX layers have been implemented - **changed** — git restore --staged has been optimized to avoid unnecessarily expanding Git v2.55 Release Notes ======================= UI, Workflows & Features ------------------------ * Hook scripts defined via the configuration system can now be configured to run in parallel. * The userdiff driver for the Scheme language has been extended to cover other Lisp dialects. * Terminal control sequences coming over the sideband while talking to a remote repository are mostly disabled by default, except for ANSI color escape sequences. * "ort" merge backend improvements. * "git checkout -m another-branch" was invented to deal with local changes to paths that are different between the current and the new branch, but it gave only one chance to resolve conflicts. The command was taught to create a stash to save the local changes. * A new builtin "git format-rev" is introduced for pretty formatting one revision expression per line or commit object names found in running text. * "git history" learned "fixup" command. * The internal URL parsing logic has been made accessible via a new subcommand "git url-parse". * Misspelt proxy URL (e.g., httt://...) did not trigger any warning or failure, which has been corrected. We had a regression in this update that broke https:// proxies, but that has been caught and corrected. * Document the fact that .git/info/exclude is shared across worktrees linked to the same repository. * The command line parser for "git diff" learned a few options take only non-negative integers. * The graph output from commands like "git log --graph" can now be limited to a specified number of lanes, preventing overly wide output in repositories with many branches. * The fsmonitor daemon has been implemented for Linux. * "git cat-file --batch" learns an in-line command "mailmap" that lets the user toggle use of mailmap. * The "git pack-objects --path-walk" traversal has been integrated with several object filters, including blobless and sparse filters. * "git push" learned to take a "remote group" name to push to, which causes pushes to multiple places, just like "git fetch" would do. * The 'git-jump' command (in contrib/) has been taught to automatically pick a mode (merge, diff, or ws) when invoked without arguments. * The documentation for `push.default = simple` has been clarified to better explain its behavior, making it clear that it pushes the current branch to a same-named branch on the remote, and detailing the upstream requirements for centralized workflows. * The documentation for "--word-diff" has been extended with a bit of implementation detail of where these different words come from. * "git config foo.bar=baz" is not likely to be a request to read the value of such a variable with '=' in its name; rather it is plausible that the user meant "git config set foo.bar baz". Give advice when giving an error message. * "git rev-list" (and "git log" family of commands) learned a new "--max-count-oldest" that picks oldest N commits in the range instead of the usual newest. * Various AsciiDoc markup fixes in 'git config' documentation and related files to ensure lists and formatting are rendered correctly. Performance, Internal Implementation, Development Support etc. -------------------------------------------------------------- * Promisor remote handling has been refactored and fixed in preparation for auto-configuration of advertised remotes. * Rust support is enabled by default (but still allows opting out); in Git version 3.0, Rust will become mandatory. * Preparation of the xdiff/ codebase to work with Rust. * Use a larger buffer size in the code paths to ingest pack stream. * Refactor service routines in the ref subsystem backends. * Shrink wasted memory in Myers diff that does not account for common prefix and suffix removal. * Enable expensive tests to catch topics that may cause breakages on integration branches closer to their or _[Truncated at 4000 characters — full notes: https://github.com/git/git/releases/tag/v2.55.0]_ ### v2.55.0-rc2 - Date: 2026-06-23 - Version: v2.55.0-rc2 - Original notes: https://github.com/git/git/releases/tag/v2.55.0-rc2 - Permalink: https://whatsnew.fyi/product/git/releases/v2.55.0-rc2 - Labels: Pre-release ### v2.55.0-rc1 - Date: 2026-06-17 - Version: v2.55.0-rc1 - Original notes: https://github.com/git/git/releases/tag/v2.55.0-rc1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.55.0-rc1 - Labels: Pre-release ### v2.55.0-rc0 - Date: 2026-06-11 - Version: v2.55.0-rc0 - Original notes: https://github.com/git/git/releases/tag/v2.55.0-rc0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.55.0-rc0 - Labels: Pre-release ### v2.54.0 - Date: 2026-04-20 - Version: v2.54.0 - Original notes: https://github.com/git/git/releases/tag/v2.54.0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.54.0 - **added** — Add "git history" history rewriting (experimental) command - **added** — Add "--maximal-only" option to "git rev-list" and friends to show only commits not reachable by other commits - **added** — Add "--keys" action to "git repo info" to list known keys - **added** — Add "split" subcommand to "git history" - **added** — Add "--trailer" option to "git rebase" to drive the interpret-trailers machinery - **added** — Add "--commit-list-format" option and format.commitListFormat configuration variable to "git format-patch --cover-letter" - **added** — Add "revert" operating mode to "git replay" (experimental) - **added** — Allow hook commands to be defined in configuration files and run multiple of them for the same hook event - **added** — Allow the directory in which reference backends store their data to be specified - **changed** — "git add -p" and friends now note the current status of the hunk being shown - **changed** — "git add -p" learned a new mode that allows the user to revisit a file that was already dealt with - **changed** — "git add " now honors submodule..ignore set to "all" - **changed** — "git apply --directory=./un/../normalized/path" now normalizes the given path before using it - **changed** — "git apply" now reports the name of the input file along with the line number when it encounters a corrupt patch - **changed** — "git config list" now shows values interpreted for specific type with "--type=" option - **changed** — "git maintenance" starts using the "geometric" strategy by default - **changed** — "git merge-file" now uses available configuration files when run outside a repository - **changed** — "git replay" now supports replaying down to the root commit - **changed** — "git replay" now drops commits that become empty, not just the ones that are empty in the original - **changed** — "git send-email" learns to pass hostname/port to Authen::SASL module Git v2.54 Release Notes ======================= UI, Workflows & Features ------------------------ * "git add -p" and friends note what the current status of the hunk being shown is. * "git history" history rewriting (experimental) command has been added. * "git replay" is taught to drop commits that become empty (not the ones that are empty in the original). * The help text and the documentation for the "--expire" option of "git worktree [list|prune]" have been improved. * When "git show-index" is run outside a repository, it silently defaults to SHA-1; the tool now warns when this happens. * "git merge-file" can be run outside a repository, but it ignored all configuration, even the per-user ones. The command now uses available configuration files to find its customization. * "auto filter" logic for large-object promisor remote. * "git rev-list" and friends learn "--maximal-only" to show only the commits that are not reachable by other commits. * Command line completion (in contrib/) update for "stash import/export". * "git repo info" learns "--keys" action to list known keys. * Extend the alias configuration syntax to allow aliases using characters outside ASCII alphanumeric (plus '-'). * A signature on a commit that was GPG signed a long time ago ought to be still valid after the key that was used to sign it has expired, but we showed them in alarming red. * "git subtree split --prefix=P " now checks the prefix P against the tree of the (potentially quite different from the current working tree) given commit. * "git add -p" learned a new mode that allows the user to revisit a file that was already dealt with. * Allow the directory in which reference backends store their data to be specified. * "gitweb" has been taught to be mobile friendly. * "git apply --directory=./un/../normalized/path" now normalizes the given path before using it. * "git maintenance" starts using the "geometric" strategy by default. * "git config list" is taught to show the values interpreted for specific type with "--type=" option. * "git add " has been taught to honor submodule..ignore that is set to "all" (and requires "git add -f" to override it). * Hook commands are now allowed to be defined (possibly centrally) in the configuration files, and run multiple of them for the same hook event. * The way end-users can add their own "git " subcommand by storing "git-" in a directory on their $PATH has not been documented clearly, which has been corrected. * "git send-email" learns to pass hostname/port to Authen::SASL module. * "git send-email" learns to support use of client-side certificates. * "git send-email" has learned to be a bit more careful when it accepts charset to use from the end-user, to avoid 'y' (mistaken 'yes' when expecting a charset like 'UTF-8') and other nonsense. * "git status" learned to show comparison between the current branch and various other branches listed on status.compareBranches configuration. * "git repo structure" command learns to report maximum values on various aspects of objects it inspects. * "git rebase" learns "--trailer" option to drive the interpret-trailers machinery. * "git fast-import" learned to optionally replace signature on commits whose signatures get invalidated due to replaying by signing afresh. * "git history" learned the "split" subcommand. * The reference-transaction hook was taught to be triggered before taking locks on references in the "preparing" phase. * "git apply" now reports the name of the input file along with the line number when it encounters a corrupt patch, and correctly resets the line counter when processing multiple patch files. * The HTTP transport learned to react to "429 Too Many Requests". * "git repo info -h" and "git repo structure -h" limit their help output _[Truncated at 4000 characters — full notes: https://github.com/git/git/releases/tag/v2.54.0]_ ### v2.54.0-rc2 - Date: 2026-04-14 - Version: v2.54.0-rc2 - Original notes: https://github.com/git/git/releases/tag/v2.54.0-rc2 - Permalink: https://whatsnew.fyi/product/git/releases/v2.54.0-rc2 - Labels: Pre-release ### v2.54.0-rc1 - Date: 2026-04-08 - Version: v2.54.0-rc1 - Original notes: https://github.com/git/git/releases/tag/v2.54.0-rc1 - Permalink: https://whatsnew.fyi/product/git/releases/v2.54.0-rc1 - Labels: Pre-release ### v2.54.0-rc0 - Date: 2026-04-02 - Version: v2.54.0-rc0 - Original notes: https://github.com/git/git/releases/tag/v2.54.0-rc0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.54.0-rc0 - Labels: Pre-release ### v2.53.0 - Date: 2026-02-02 - Version: v2.53.0 - Original notes: https://github.com/git/git/releases/tag/v2.53.0 - Permalink: https://whatsnew.fyi/product/git/releases/v2.53.0 - **added** — git maintenance command learned is-needed subcommand to tell if it is necessary to perform various maintenance tasks - **added** — git replay learned to perform ref updates itself in a transaction by default - **added** — git blame learns --diff-algorithm option - **added** — git repo info learned --all option - **added** — git apply and git diff learn a new whitespace error class, incomplete-line - **added** — git fast-import learns --signed-commits=strip-if-invalid option to drop invalid cryptographic signature from objects - **added** — git repo struct learned to take -z as a synonym to --format=nul - **changed** — git blame documentation clarified regarding the use of revision in git replay - **changed** — git branch help message now mentions git help instead of man when suggesting to read documentation - **changed** — git repo structure output shows more object database related information - **changed** — Error message improved when a bad argument is given to the --onto option of git replay - **changed** — The list of packfiles used in a running Git process is moved from the packed_git structure into the packfile store - **changed** — Optimize git diff --quiet to skip rename and copy detection - **changed** — Halve the memory consumed by artificial filepairs created during git diff --find-copies-harder - **changed** — Require C99 style flexible array member support from all platforms - **fixed** — git submodule add now prevents adding a repository that uses a different hash function - **fixed** — OSX keychain credential helper store check corrected to avoid rejecting credential material from other helper backends - **fixed** — git repo structure subcommand corrected to properly align output by using display column width instead of byte count - **fixed** — The code to expand attribute macros has been rewritten to avoid recursion - **security** — Stop using the insecure mktemp function Git v2.53 Release Notes ======================= UI, Workflows & Features ------------------------ * "git maintenance" command learned "is-needed" subcommand to tell if it is necessary to perform various maintenance tasks. * "git replay" (experimental) learned to perform ref updates itself in a transaction by default, instead of emitting where each refs should point at and leaving the actual update to another command. * "git blame" learns "--diff-algorithm=" option. * "git repo info" learned "--all" option. * Both "git apply" and "git diff" learn a new whitespace error class, "incomplete-line". * Add a new manual that describes the data model. * "git fast-import" learns "--signed-commits=strip-if-invalid" option to drop invalid cryptographic signature from objects. * The use of "revision" (a connected set of commits) has been clarified in the "git replay" documentation. * A help message from "git branch" now mentions "git help" instead of "man" when suggesting to read some documentation. * "git repo struct" learned to take "-z" as a synonym to "--format=nul". * More object database related information are shown in "git repo structure" output. * Improve the error message when a bad argument is given to the `--onto` option of "git replay". Test coverage of "git replay" has been improved. * The iconv library on macOS fails to correctly handle stateful ISO/IEC 2022:1994 encoded strings. Work it around instead of replacing it wholesale from homebrew. * Upstream symbolic link support on Windows from Git-for-Windows. Performance, Internal Implementation, Development Support etc. -------------------------------------------------------------- * The list of packfiles used in a running Git process is moved from the packed_git structure into the packfile store. * Some ref backend storage can hold not just the object name of an annotated tag, but the object name of the object the tag points at. The code to handle this information has been streamlined. * As "git diff --quiet" only cares about the existence of any changes, disable rename/copy detection to skip more expensive processing whose result will be discarded anyway. * A part of code paths that deals with loose objects has been cleaned up. * "make strip" has been taught to strip "scalar" as well as "git". * Dockerized jobs at the GitHub Actions CI have been taught to show more details of failed tests. * Code refactoring around object database sources. * Halve the memory consumed by artificial filepairs created during "git diff --find-copies-harder", also making the operation run faster. * The "git_istream" abstraction has been revamped to make it easier to interface with pluggable object database design. * Rewrite the only use of "mktemp()" that is subject to TOCTOU race and Stop using the insecure "mktemp()" function. (merge 10bba537c4 rs/ban-mktemp later to maint). * In-code comment update to clarify that single-letter options are outside of the scope of command line completion script. (merge dc8a00fafe jc/completion-no-single-letter-options later to maint). * MEMZERO_ARRAY() helper is introduced to avoid clearing only the first N bytes of an N-element array whose elements are larger than a byte. * "git diff-files -R --find-copies-harder" has been taught to use the potential copy sources from the index correctly. * Require C99 style flexible array member support from all platforms. * The code path that enumerates promisor objects have been optimized to skip pointlessly parsing blob objects. * Prepare test suite for Git for Windows that supports symbolic links. * Import newer version of "clar", unit testing framework. (merge 84071a6dea ps/clar-integers later to maint). * The packfile_store data structure is moved from object store to odb source. * The object-info API has been cleaned up. * Further preparation t _[Truncated at 4000 characters — full notes: https://github.com/git/git/releases/tag/v2.53.0]_ ### v2.53.0-rc2 - Date: 2026-01-27 - Version: v2.53.0-rc2 - Original notes: https://github.com/git/git/releases/tag/v2.53.0-rc2 - Permalink: https://whatsnew.fyi/product/git/releases/v2.53.0-rc2 - Labels: Pre-release