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.
Homebrew
Install homebrew if you don't already have it, then:
$ brew install git
Xcode
Choose Download for Mac. In your computer's Downloads folder, double-click the GitHub Desktop zip file. After the file has been unzipped, double-click GitHub Desktop. At GitHub, we think that sharing code should be as simple as possible. That's why we created GitHub Desktop for Mac. The sync button pushes your changes to GitHub and pulls down other's changes in. Installing Git on a Mac. Open a terminal window. Step 1 – Install Homebrew. Homebrew simplifies the installation of software on the Mac OS X operating system. – Homebrew – Wikipedia. Copy & paste the following into the terminal window and hit Return.
Apple ships a binary package of Git with Xcode.
Binary installer
Tim Harper provides an installer for Git. The latest version is 2.23.0, which was released 11 months ago, on 2019-09-03.
Building from Source
If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.27.0.
Install Software From Github Mac Free
Inspired by a Gist from kevinelliott - thanks!
Install from App Store
- Xcode - for command line tools required by Homebrew
Install from Third-Party Websites
Xcode Command Line Tools
Need to be installed for all the fne stuff in the latest section
Xcode > Preferences > Downloads > Command Line Tools
or
Run Xcode and accept the license! Homebrew can not install properly until this occurs.
Install Homebrew
If this is not a fresh install of Homebrew, go ahead and purge the complete installation first:
![Mac Mac](/uploads/1/2/6/3/126320052/297400516.jpg)
Now install Homebrew
Install common libraries via Homebrew
Install Cask application manager
Install applications via Homebrew Cask
The following software is still in testing and not part of my default setup:
Install Chrome extensions
Some extensions are not pulled from your Google account, so re-install theam manully now:
Firefox profiles
TODO make sure the profiles are registered
![Github setup on mac Github setup on mac](/uploads/1/2/6/3/126320052/572859726.jpg)
After setting all the preferences, you need to reboot or at least restart Finder:
If you are curious, check this file for more possible settings.
Setup Github
Docker
Database
Ruby & Gems
Prepare a sandboxed ruby environment
Download Github Mac
within we install some gems
Vagrant and plugins
Install Software From Github Mac Download
Install custom .dotfiles at the end, cause we utilize some of the previously installed packages