If you're a serious Git user and want the very latest version then it's best to get it from the Git website: Open Safari and browse to the Git developer site. Click on Mac OS X below Downloads. 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: $ git -version git version 2.9.2. There is a MAC OS Git installer that is maintained and made available for download on the Git website, at Finally, a third option of installing Git on MAC OS is to install it as part of the GitHub for MAC install. They have a GUI Git tool. Version Control By building your game (or just the scripts) as individual files on the filesystem, it becomes easy to start using professional-grade version control tools like Git or Mercurial Other Tools Take advantage of of tools built by engineers around the world.
You can’t use Git until you make it available on your computer. There are a couple different ways you can install Git and make it available for use. The option you choose will depend on the system you are running.
In this article, I will show you how to install Git on a MAC OS, as well as how to install Git on LINUX.
A couple of things you will want to make note of while interacting with Git.
- Even if you already have Git installed it is a good idea to update to the latest version.
- All of the commands below should work, even on the older versions of Git. They may act a little differently but should work. Git is very good at preserving backward compatibility. Any version after 2.0 should work just fine.
How To Install Git on MAC OS
There are a couple of ways to install Git on MAC OS. The easiest way to do it would probably be to install the Xcode Command Line Tools. This will work on Mavericks (10.9) or above, so it should cover you. If you are running on OS older than that I would recommend you look into upgrading that first.
If your MAC OS is good to go simply run git from the Terminal the very first time. Here is what that would look like:
If it isn’t installed you will be prompted to install. If it is installed, then the above command should output the current version installed.
If you need or want a more up-to-date version, then you can install Git on MAC OS via a binary installer. There is a MAC OS Git installer that is maintained and made available for download on the Git website, at https://git-scm.com/download/mac.
Finally, a third option of installing Git on MAC OS is to install it as part of the GitHub for MAC install.
They have a GUI Git tool that has an option to install command line tools as well. You can download this tool from the GitHub for MAC website, at https://mac.github.com.
How To Install Git on Linux
Download Git Latest Version For Mac
More often than not you can install Git on Linux via a binary installer through the package management tool that comes with your distribution.
If you’re on Fedora or other closely related RPM-based distribution, like RHEL or CentOS, you can use dnf:
Download Git For Version Macos
$ sudo dnf install git-all
If you happen to be on a Debian-based distribution, like Ubuntu, try using apt:
Download Git For Version Mac Download
Installation For Other Unix Distributions
Gentoo
# emerge –ask –verbose dev-vcs/git
Arch Linux
Installing Git On Mac
openSUSE
# zypper install git
Mageia
Nix/NixOS
# nix-env -i git
FreeBSD Install mac os from download.
Solaris 9/10/11 (OpenCSW)
# pkgutil -i git Cannot download pdf mac chrome.
Solaris 11 Express
OpenBSD
# pkg_add git
Alpine
Slitaz
$ tazpkg get-install git
![Download Download](/uploads/1/2/6/6/126688059/460379080.png)
Author: Jeremy Holcombe
Growing up in Hawaii, Jeremy started his freelance writing career doing resumes, business plans, article writing, and everything in between. He now specializes in online marketing and content writing and is part of the Content Marketing Team at GreenGeeks.
Was this article helpful?
Related Articles
Download Git For Mac Sourceforge
Thanks! I can imagine a couple more things you'll want to add here, as guidance for users who may not be completely command-line savvy.
1) You might want to show the output of |git --version| for the two cases of the Mac built-in vs. the latest install. On my Mavericks machine, I get:
{michaels-mbp:746} which git
/usr/bin/git
{michaels-mbp:747} git --version
Download Git For Version Mac Osx
git version 1.9.3 (Apple Git-50)
2) You correctly point out the two different paths for a local install vs. the built-in version. It might help users to know how to get the 'right' one without having to know and type the path each time. That is, setting PATH in .login or .profile to ensure that /usr/local/bin is earlier in the list than /usr/bin.
3) You may also want to provide a cross-link in the introduction back to your nice I'ble on installing a better version of Git. Relying on the 'More by' or 'Related' sidebar tabulations may not be a good choice :-)