From the course: Git Essential Training
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Install Git on macOS
From the course: Git Essential Training
Install Git on macOS
- [Instructor] Let's see how we can install Git on macOS. If you have a Mac, there's a good chance there is a version of Git on it already, but there is also a good chance that that version is out of date. You can check that by opening the Terminal and checking git --version. If your version is out of date, you can install a new one. To do that, you can go to git-scm.com/download/mac. Here it is described what options you have to download Git. The most straightforward one is to use Homebrew, so you install Homebrew and then use brew install git. After that, you can check version again to see if you have updated. Another option is to use MacPorts, or if you are using Xcode as it's already using Git. As you can see, there's also a binary installer which you could use to get a GUI and a wizard. The problem is that at this point, the latest version is pretty old so it's not recommended. Maybe this will be updated later,…