Time for action — installing and configuring Git
Get ready! We are going to install Git onto our computer using Homebrew.
- Open Terminal.
- Run the following command to install Git using Homebrew:
- 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.
- 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
git config global user.name "Your Name"
git config global user.email email@example.com