xxxxxxxxxx
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Git
brew install git
# Verify installation
git --version
xxxxxxxxxx
Homebrew
Install homebrew if you don't already have it, then:
$ brew install git
MacPorts
Install MacPorts if you don't already have it, then:
$ sudo port install git
Installing git-gui
$ brew install git-gui
xxxxxxxxxx
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/fabriziocucci/git-bash-for-mac/master/install.sh)"