To use Git, you must first install it. Installing Git is different on Mac and PC, so follow the appropriate instructions below depending on your operating system.
Mac: Download & Install Git
Go to Applications > Utilities and open Terminal.app.
In the Terminal window, type the following and press Return:
If it tells you a git version number, you already have Git installed. If you do not have it installed, you’ll be prompted to download and install the Xcode developer tools (which include Git). Proceed with the download/install process until it’s done.
Windows: Download & Install Git
Open a web browser and go to git-scm.com/download
Click the download button.
Launch the installer you downloaded.
The default options should be fine for most people. On the Select Components screen you’ll probably want to check on the option to have it put an additional icon On the Desktop, but otherwise, just keep clicking Next to go through the installer.
Go Beyond Git
Git is an essential tool for collaborating with other programmers. Learn Git and more through our coding classes & bootcamps: