You can download this tool from the GitHub for MAC website, at. They have a GUI Git tool that has an option to install command line tools as well.
įinally, a third option of installing Git on MAC OS is to install it as part of the GitHub for MAC install. There is a MAC OS Git installer that is maintained and made available for download on the Git website, at. 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 steeper learning curve involved, but once youre used to it, youll unlock the full power of git.
To commit your files to Git in the terminal, type the following. Git is a command line tool, the best way to learn how it works - and how to get the most out of it - is to use it as such. If it is installed, then the above command should output the current version installed. Click on Commit or hit Ctrl + Enter (or Cmd + Enter on your Mac). If it isn’t installed you will be prompted to install. If your MAC OS is good to go simply run git from the Terminal the very first time. If you are running on OS older than that I would recommend you look into upgrading that first. This will work on Mavericks (10.9) or above, so it should cover you. The easiest way to do it would probably be to install the Xcode Command Line Tools. There are a couple of ways to install Git on MAC OS.
Any version after 2.0 should work just fine. Git is very good at preserving backward compatibility. They may act a little differently but should work.