Installing Git
Setting Up Git
Git will help us track changes and versions of our code.
Mac Users
Open a new terminal window.
Type the command,
git --version
, in the terminal.If the output includes a Git version, like the code below, then you are ready to use Git!
git --version
Console Output
git version 2.6.4 (Apple Git-63)
If the output does not include a Git version, then a popup will open and ask you to install Developer Tools. Click “Install”!
After the installation is done, you can double check that it worked by typing
git --version
and the version of Git will be part of the output!
Windows Users
Since you already installed Git Bash when you set up your terminal , you are good to go!