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.
- This will install the new version of Git over the existing version: Alternatively, you can: Use the native Git bundled with macOS. Use Homebrew to download and install Git. Now check the Git version – you should see the new version of Git. If you still can't see the Git version, you may need to add the Git install location to your path.
- First, find the Terminal application: On Mac, you can click the magnifying glass at the top right of your desktop, type Terminal, select the terminal from the list of applications, and press Enter or click it. On Linux, press Ctrl-Alt-T all at the same time, and the terminal window opens.
Homebrew
Download the latest stable Git release from the Git website. Click on the downloaded.dmg file, then double-click the.pkg icon to run the installer. This will install the new version of Git over the existing version: Now check the Git version – you should see the new version of Git. Download the latest version of Git for Mac. Open the Disk image; Before we begin the installation process, I'll open up the README.txt file that comes with the disk image. I'll walk you through these steps now, but it's a good idea for you to open this up and read through it yourself in case there's an update in the future. Uninstalling the current version of Git. The first step is downloading the installer package from the website. You can navigate to and click the download button for the installer package that looks like the following image as of, showcasing git version 2.15.1.
Install homebrew if you don't already have it, then:$ brew install git
Xcode
Download the latest stable Git release from the Git website. Click on the downloaded.dmg file, then double-click the.pkg icon to run the installer. This will install the new version of Git over the existing version: Now check the Git version – you should see the new version of Git. Download the latest version of Git for Mac. Open the Disk image; Before we begin the installation process, I'll open up the README.txt file that comes with the disk image. I'll walk you through these steps now, but it's a good idea for you to open this up and read through it yourself in case there's an update in the future. Uninstalling the current version of Git. The first step is downloading the installer package from the website. You can navigate to and click the download button for the installer package that looks like the following image as of, showcasing git version 2.15.1.
Install homebrew if you don't already have it, then:$ brew 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.27.0, which was released 3 months ago, on 2020-07-22. Safari 64 bit mac.
Git Update Version Windows
Building from Source
Update Git Version Mac Terminal Download
If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.29.2.