Installing Git


Step 1

Before proceeding, sign up for a free account at Github and Heroku. Make sure to use the same email address for both, you'll use it again below!

Github is a tool that developers use to collaborate and share code.

Heroku is the fastest way to push your code to production! We'll use it to show off the apps we build in class.

Step 2

In your terminal type:

brew install git
Step 3

Check to see if Git installed successfully by typing:

git --version

You should see:

git version 2.8.3
Step 4

Now we'll set up Git. Make sure to use the same email you used for your Github and Heroku accounts.

git config --global user.name "ENTER YOUR ACTUAL NAME"
git config --global user.email "ENTER YOUR ACTUAL EMAIL ADDRESS"
Step 5

Now let's make sure that worked. In your Terminal type:

git config --get user.name

Note: You should see your name.

git config --get user.email

Note: You should see your email.