Download Git

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 is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Git Downloads for Linux/Unix, macOS and Windows

Older releases are available and the Git source repository is on GitHub.

Download for Linux and Unix

It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.49.0

Debian/Ubuntu

For the latest stable version for your release of Debian/Ubuntu

                $ apt-get install git
            

For Ubuntu, this PPA provides the latest stable upstream Git version

                $ add-apt-repository ppa:git-core/ppa
                $ apt update
                $ apt install git
            

Fedora

Up to Fedora 21:

                $ yum install git
            

Fedora 22 and later:

                $ dnf install git
            

Gentoo

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

Arch Linux

                $ pacman -S git
            

openSUSE

                $ zypper install git
            

Mageia

                $ urpmi git
            

Nix/NixOS

                $ nix-env -i git
            

FreeBSD

                $ pkg install git
            

Solaris 9/10/11 (OpenCSW)

                $ pkgutil -i git
            

Solaris 11 Express, OpenIndiana

                $ pkg install developer/versioning/git
            

OpenBSD

                $ pkg_add git
            

Alpine

                $ apk add git
            

Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.

RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.

Slitaz

                $ tazpkg get-install git
            

Download for macOS

There are several options for installing Git on macOS. Note that any non-source distributions are provided by third parties, and may not be up to date with the latest source release.

Choose one of the following options for installing Git on macOS:

Homebrew

Install homebrew if you don't already have it, then:

$ brew install git

MacPorts

Install MacPorts if you don't already have it, then:

$ sudo port install git

Xcode

Apple ships a binary package of Git with Xcode.

Binary installer

Tim Harper provides an installer for Git. The latest version is 2.33.0, which was released over 3 years ago, on 2021-08-30.

Building from Source

If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.49.0.

Installing git-gui

If you would like to install git-gui and gitk, git's commit GUI and interactive history browser, you can do so using homebrew

$ brew install git-gui

Download for Windows

Click here to download the latest (2.49.0) x64 version of Git for Windows. This is the most recent maintained build. It was released over 1 month ago, on 2025-03-17.

More Git downloads for Windows:

GUI Clients

Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific experience.

View GUI Clients

Git via Git

If you already have Git installed, you can get the latest development version via Git itself:

                    git clone https://github.com/git/git
                

You can also always browse the current contents of the git repository using the web interface.

Getting Started

Now that you have downloaded Git, it's time to start using it:

Read the Book
Dive into the Pro Git book and learn at your own pace.
Download a GUI
Several free and commercial GUI tools are available for the Windows platform.
Get Involved
A knowledgeable Git community is available to answer your questions.

Apache/2.4.63 (Debian) Server at mirror.timecapsule.one Port 443