# Git v2.53.0 - Product: Git (https://whatsnew.fyi/product/git) - Vendor: Git - 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 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'. --- Changes to check: - **Behavior changed:** `git replay` (inferred by a model) - **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]_