Git for Windows 是 Git 版本控制系统的 Windows 官方移植版,把命令行 Git 和轻量 Bash 环境打包成开箱即用的安装包。核心亮点是完整兼容 Git 生态、自带图形化安装向导与便携模式,适合在 Windows 上写代码、做版本管理或需要跨平台协作的开发者使用。
核心亮点:
- 提供完整 Git 命令行与轻量 Bash 环境
- 图形化安装向导,可选便携模式
- 与上游 Git 保持同步更新
- 支持在 VS Code 等编辑器中直接使用
当前版本 v2.56.1.windows.1(2026-11-10 发布),开源协议 GPL-2.0,GitHub 9,498 star。
核心信息
| 软件名称 | Git for Windows(git-for-windows/git) |
| 当前版本 | v2.56.1.windows.1 |
| 更新日期 | 2026-11-10 |
| 开源协议 | GPL-2.0 |
| 软件分类 | Windows 效率工具 |
| 关键词 | hacktoberfest |
本次更新内容
- 新版本修复了多个安全漏洞,恶意仓库或服务器可能借此执行代码或写入意外文件,建议尽快升级。
- 合并含多个签名的标签等操作此前可能引发崩溃,现已修复,日常使用更稳定。
- 应用超大补丁或进行大型合并时此前可能出错崩溃,新版本已解决这类问题。
- 导入工具默认禁止读取任意路径的相关功能,降低被恶意数据利用的风险。
查看官方英文更新日志(原文)
Changes since Git for Windows v2.56.0(4) (October 26th 2026) This addresses the security issues CVE-2026-111760, CVE-2026-113408, CVE-2026-114466, CVE-2026-114467, CVE-2026-114469 and CVE-2026-105437. ### Security bug fixes * [CVE-2026-111760](https://github.com/git/git/security/advisories/GHSA-vp2w-7xxj-jvxr): 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. * [CVE-2026-113408](https://gitlab.com/gitlab-org/git/-/work_items/809): 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. * [CVE-2026-114467](https://gitlab.com/gitlab-org/git/-/work_items/810): 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. * [CVE-2026-114469](https://gitlab.com/gitlab-org/git/-/work_items/811): 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. * [CVE-2026-105437](https://gitlab.com/gitlab-org/git/-/work_items/814): 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. * [CVE-2026-114466](https://gitlab.com/gitlab-org/git/-/work_items/812): 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. ### New Features * Comes with [Git v2.56.1](https://github.com/git/git/blo
下载地址
以下为官方原包,本站不二次打包,点击直接下载:
Git-2.56.1-64-bit.exe(官方安装程序 | 63.8 MB)
✅ 上方 SHA256 与官方发布值一致,可自行核对。
讨论(0 条)