Download Git— Windows, Mac & Linux

Official installers and install commands for every platform, sourced directly from git-scm.com and the Git for Windows project. No sign-up, no bundled junk.

WindowsMacLinux

Git for Windows

Latest version: 2.56.0.2

Git for Windows bundles Git, Git Bash, and Git GUI in one installer, built and maintained by the Git for Windows project. Links below pull directly from their official GitHub releases.

64-bit Setup

Standard installer for 64-bit Windows 10/11. Recommended for almost everyone.

Download (63.7 MB)

ARM64 Setup

For Windows on ARM devices (Surface Pro X and similar).

Download (61.3 MB)

Portable (64-bit)

No installation or admin rights required — extract and run.

Download (57.2 MB)

Portable (ARM64)

Portable build for Windows on ARM.

Download (56.8 MB)
View all Windows options on git-scm.com →

Git for Mac

Apple no longer ships an official standalone Git installer — the officially supported routes are Homebrew, Xcode's Command Line Tools, or MacPorts. Run any of the commands below in Terminal.

Homebrew

Recommended

The easiest way to install and keep Git updated on macOS.

$ brew install git

Xcode Command Line Tools

Ships with Apple's developer tools — no separate install needed on most Macs.

$ xcode-select --install

MacPorts

Alternative package manager, if you already use MacPorts.

$ sudo port install git
Official git-scm.com Mac install guide →

Git for Linux — All Distros

Git ships as a package in every major distribution's repository — there's no standalone installer to download. Pick your distro and run its command.

Ubuntu / Debian

$ sudo apt update && sudo apt install git

Fedora

$ sudo dnf install git

RHEL / CentOS / Oracle Linux

$ sudo dnf install git

Arch / Manjaro

$ sudo pacman -S git

openSUSE

$ sudo zypper install git

Alpine

$ sudo apk add git

Gentoo

$ sudo emerge --ask --verbose dev-vcs/git

FreeBSD

$ sudo pkg install git

OpenBSD

$ doas pkg_add git

Solaris (OpenCSW)

$ pkgutil -i git

Nix / NixOS

$ nix-env -i git

Mageia

$ sudo urpmi git
Official git-scm.com Linux install guide →

Need a team to build on top of Git?

We're OpenStack Dev — a full-stack, mobile, and DevOps agency. If you need CI/CD, repo hosting, or a production app built and shipped, let's talk.

Get in TouchBrowse All DevOps Tools