Installing Git on macOS

NOTE

This step is optional.

1. Open a new Terminal window

2. Enter the following command into the Terminal window and hit return

brew install git

3. Enter the following command into the Terminal window and hit return

echo "export PATH=/usr/local/bin:$PATH" >> ~/.zshrc

4. Close the Terminal Window

5. Open a new Terminal window

6. Enter the following command into the Terminal window replacing Your Name and hit return

git config --global user.name "Your Name"

7. Enter the following command into the Terminal window replacing youremailaddress and hit return

git config --global user.email "youremailaddress@algonquinlive.com"

8. Enter the following command into the Terminal window and hit return

git config --global color.ui auto

9. Close the Terminal window