Xcode Command Line Tools
Apple's free bundle of developer programs for macOS, which includes a version of Git.
In more detail
Running xcode-select --install downloads the bundle without the full Xcode app. It is the quickest way to get Git on a Mac, though the version is usually older than the one Homebrew installs.
Example
xcode-select --installRelated terms
- installing Git — Putting the git program on a computer, which is done differently on each operating system.
- Homebrew — A popular package manager for macOS and Linux, run with the brew command, which installs software into its own directory.
Taught in
- Installing Git, And Telling It Who You Are — Advanced Git Internals & Distributed Workflows