_installGitMac

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

If you are using a Mac, you may already have Git. To find out, open a terminal and enter git --version.

$ git --version
git version 2.3.2

If you receive a version number, as shown in the previous example, great! You have Git already and can continue to the next step. If not, install Git.

If you run into issues while following these instructions, make sure you have root access (sudo) on the system where you want to install Git.

  1. Download the Git installer from its official website.  
    The installer is a DMG file. 
  2. Double-click the DMG to expand it.
  3. Double-click the PKG file to install it.
    The Git installer launches.
  4. Follow the prompts to install Git.
  5. Open a terminal on your system.
  6. Verify the installation was successful by typing which git --version at the command line.

    $ git --version
    git version 2.3.2

    Depending on the version you install, the command line may return a different version.

Last modified on Jul 30, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.