Get ready! We are going to install Git onto our computer using Homebrew.
1. Open Terminal.
2. Run the following command to install Git using Homebrew:
brew install git
3. Terminal will download and install Git for you in just a matter of moments. It will then respond with a success message telling you that Git has been installed.
4. After Git has been installed, you need to configure it so that it knows who you are when you commit changes to data. Run the following commands to identify yourself and make sure to fill in your own information where I've put
Your Name
and[email protected]:
git config global user.name "Your Name" git config global user.email [email protected]