Guide: Setting Up git for Data Science Exploration

To set up git, there are certain commands that you need to do:

  1. once for the entire semester (“see Course Setup below”),
  2. once for each computer you use (“see Computer Setup below”),
  3. once for each lab assignment (“see Assignment Setup below”)
(If you are working on lab_01, do all of these.)

 

Course Setup

To begin to work on assignments and turn in work, you will need to create a git repository for the course.

(You should now be able to see and explore your personal netid repository on our stat207-sp22-el1 Github Coursework Organization.

Example:

 

Computer Setup

  1. Create a stat207 folder on your Desktop (if you haven’t already)
  2. Using your command line, run the following commands to navigate into your stat207 folder:
  • cd Desktop
  • cd stat207
  1. Clone a local copy of your git repository with the following command (making sure to replace YOUR_NETID with your own):
  • git clone https://github-dev.cs.illinois.edu/sp22_stat207-el1/YOUR_NETID
  • You may have to enter your netid/password
  1. Navigate into your git directory by going into your NetID-named folder (replace NETID with yours):
  • cd NETID
  1. Set up a connection to the _release repository where code will be released for you:

Example:

 

Assignment Setup

Each corresponding lab assignment link in the assignments page will provide specific instructions on how to "download", edit, and "submit" your corresponding assignment to your netid Github repository.