Setting Up Git¶
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!
LaunchCode-Super-Computer:~ launchcode-student$ git --version 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 --versionand the version of Git will be part of the output!
Since you already installed Git Bash when you set up your terminal, you are good to go!