Updated on 2023-07-25 GMT+08:00

Installing Git for macOS

  • You can quickly install Git on macOS by installing Xcode command line tools.
  • On Mavericks 10.9 or a later version, run the git command on the Terminal. The system will prompt you to install the command line tools if you have not.
  • If you want to install Git of a later version, go to the Git website and download the latest version for macOS.