Wingetlywingetly
← All apps

Git

by The Git Development Communityv2.52.0-rc2

Last updated

A free and open source distributed version control system

Install with winget

$ winget install --id Git.Git.PreRelease --exact --version 2.52.0-rc2

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for Git

Git uses EXE (Inno Setup). The silent install switches are /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART.

One-line silent install (x64, user scope)
Git-2.52.0-rc2-64-bit.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

See the full silent install reference for Git

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.

Installers · v2.52.0-rc2

ArchitectureTypeScopeInstallDownload
x64EXE
Inno Setup
userDirect
x64EXE
Inno Setup
machineDirect
arm64EXE
Inno Setup
userDirect
arm64EXE
Inno Setup
machineDirect

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

21 known CVEs via NVD

  • high8.0Patched in wingetCVE-2025-48384affects before 2.43.7, 2.44.4, 2.45.4, +5 moreJul 8, 2025

    Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config...

  • high7.3Patched in wingetCVE-2024-32465affects before 2.39.4, 2.40.2, 2.42.2, 2.43.4May 14, 2024

    Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source rep...

  • low3.9Patched in wingetCVE-2024-32021affects before 2.39.4, 2.40.2, 2.42.2, 2.43.4May 14, 2024

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as t...

  • low3.9Patched in wingetCVE-2024-32020affects before 2.39.4, 2.40.2, 2.42.2, 2.43.4May 14, 2024

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source reposit...

  • high8.1Patched in wingetCVE-2024-32004affects before 2.39.4, 2.40.2, 2.42.2, 2.43.4May 14, 2024

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been patched in versions...

  • high7.0Patched in wingetCVE-2023-29007affects before 2.30.9, 2.31.8, 2.32.7, +7 moreApr 25, 2023

    Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted `.gitmodules` file with submodule URLs that are longer than 1024 characters can used to exploit a bug in `config.c:...

  • high7.5Patched in wingetCVE-2023-25652affects before 2.30.9, 2.31.8, 2.32.7, +7 moreApr 25, 2023

    Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlle...

  • medium6.2Patched in wingetCVE-2023-23946affects before 2.30.8, 2.31.7, 2.32.6, +7 moreFeb 14, 2023

    Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is...

Showing 8 of 21. Source: NVD, updated 6h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.

Related apps

  • GitThe Git Development Community
    Git.Gitv2.55.0.3

    A free and open source distributed version control system

  • MinGitThe Git Development Community
    Git.MinGitv2.55.0.5

    MinGit is an intentionally minimal, non-interactive distribution of Git for Windows, with third-party applications as its intended audience.

  • BusyBox-based MinGitThe Git Development Community
    Git.MinGit.BusyBoxv2.52.0

    MinGit is an intentionally minimal, non-interactive distribution of Git for Windows, with third-party applications as its intended audience.

  • Git for Windows SDKThe Git Development Community
    Git.SDKv1.0.8

    Additional files and scripts to help build Git for Windows on MSYS2.

  • GitHub CLIGitHub, Inc.
    GitHub.cliv2.100.0

    Take GitHub to the command line

  • GitThe Git Client Team at Microsoft
    Microsoft.Gitv2.55.0.0.8

    A fork of Git containing Microsoft-specific patches.

More from The Git Development Community or browse git, vcs.

Frequently asked questions

How do I install Git on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Git.Git.PreRelease --exact --version 2.52.0-rc2. winget downloads the installer from The Git Development Community and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install Git silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Git.Git.PreRelease --exact 2.52.0-rc2 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for Git?
Git uses EXE (Inno Setup). Run the downloaded installer with: Git-2.52.0-rc2-64-bit.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART. The silent switches are /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART.
How do I uninstall Git via winget?
Run: winget uninstall --id Git.Git.PreRelease --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from Git's Apps & Features entry.
Is Git free?
Git is distributed under GPL-2.0. Refer to the publisher (https://gitforwindows.org/) for the full license terms - Wingetly itself does not charge for installation.
Does Git work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls Git directly from the publisher.
How do I keep Git up to date?
Run winget upgrade --id Git.Git.PreRelease --exact, or winget upgrade --all to update everything winget tracks. We index 1 version of Git from microsoft/winget-pkgs.