Older releases are available and the Git source repository is on GitHub.
Latest source Release
2.28.0 Release Notes (2020-07-27)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.
![Server Server](/uploads/1/2/6/7/126799010/868327806.gif)
Logos
Various Git logos in PNG (bitmap) and EPS (vector) formats are available for use in online and print projects.
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
The following steps worked on Mac OS X 10.10.1 with a standard brew installation for the PDFtk Mac OS X server libary version 2.02. All Terminal commands separated by a full line space. Some commands wrap into multiple lines. Download and extract the Mac OS X server install pacakge. After you have successfully installed Git on Mac, you’ll need to provide secure communication with your Git repositories by creating and installing SSH keys. Creating SSH keys on Mac To communicate with the remote Git repository in your Beanstalk account from your Mac, you will need to generate an SSH key pair for that computer.
You can also always browse the current contents of the git repository using the web interface.
There are several ways to install Git on a Mac. In fact, if you’ve installed XCode (or it’s Command Line Tools), Git may already be installed. To find out, open a terminal and enter.
git --version
Apple actually maintains and ship their own fork of Git, but it tends to lag behind mainstream Git by several major versions. You may want to install a newer version of Git using one of the methods below:
Git for Mac Installer
![Installer Installer](/uploads/1/2/6/7/126799010/308114642.png)
The easiest way to install Git on a Mac is via the stand-alone installer:
- Download the latest Git for Mac installer.
- Follow the prompts to install Git.
- Open a terminal and verify the installation was successful by typing
git --version
: - Configure your Git username and email using the following commands, replacing Emma’s name with your own. These details will be associated with any commits that you create:
- (Optional) To make Git remember your username and password when working with HTTPS repositories, configure the git-credential-osxkeychain helper.
Install Git with Homebrew
If you have installed Homebrew to manage packages on OS X, you can follow these instructions to install Git:
- Open your terminal and install Git using Homebrew:
- Verify the installation was successful by typing which
git --version
: - Configure your Git username and email using the following commands, replacing Emma’s name with your own. These details will be associated with any commits that you create:
- (Optional) To make Git remember your username and password when working with HTTPS repositories, install the git-credential-osxkeychain helper.
Install Git Bash On Mac
Install Git with MacPorts
If you have installed MacPorts to manage packages on OS X, you can follow these instructions to install Git:
- Open your terminal and update MacPorts:
- Search for the latest available Git ports and variants:
- Install Git with bash completion, the OS X keychain helper, and the docs:
- Configure your Git username and email using the following commands, replacing Emma’s name with your own. These details will be associated with any commits that you create:
- (Optional) To make Git remember your username and password when working with HTTPS repositories, configure the git-credential-osxkeychain helper.
Install the git-credential-osxkeychain helper
Bitbucket supports pushing and pulling your Git repositories over both SSH and HTTPS. To work with a private repository over HTTPS, you must supply a username and password each time you push or pull. The git-credential-osxkeychain helper allows you to cache your username and password in the OSX keychain, so you don’t have to retype it each time.
- If you followed the MacPorts or Homebrew instructions above, the helper should already be installed. Otherwise you’ll need to download and install it. Open a terminal window and check:If you receive a usage statement, skip to step 4. If the helper is not installed, go to step 2.
- Use curl to download git-credential-osxkeychain (or download it via your browser) and move it to
/usr/local/bin
: - Make the file an executable:
- Configure git to use the osxkeychain credential helper.The next time Git prompts you for a username and password, it will cache them in your keychain for future use.
Install Git with Atlassian Sourcetree
Mac Os X Install Git
Sourcetree, a free visual Git client for Mac, comes with its own bundled version of Git. You can download Sourcetree here.
To learn how to use Git with Sourcetree (and how to host your Git repositories on Bitbucket) you can follow our comprehensive Git tutorial with Bitbucket and Sourcetree.