Installing Git on macOS - renekuda38/git GitHub Wiki

1. Install CLT

Install Command Line Tools (CLT) from xcode-select --install (or install Xcode)

2. Install Homebrew

3. Install Git via Homebrew

brew install git