Class Resources
Questions?
Tech Guides
Guide: Setting Up git for Data Science Exploration
Example:
Example:
To set up git, there are certain commands that you need to do:
- once for the entire semester (“see Course Setup below”),
- once for each computer you use (“see Computer Setup below”),
- once for each lab assignment (“see Assignment Setup below”)
Course Setup
To begin to work on assignments and turn in work, you will need to create a git repository for the course.
- Visit: https://edu.cs.illinois.edu/create-ghe-repo/stat207el1-sp22/ to create your repository.
- Come back here once you have the URL for your netid repository.
Example:

Computer Setup
- Create a stat207 folder on your Desktop (if you haven’t already)
- Using your command line, run the following commands to navigate into your stat207 folder:
- cd Desktop
- cd stat207
- 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
- Navigate into your git directory by going into your NetID-named folder (replace NETID with yours):
- cd NETID
- Set up a connection to the _release repository where code will be released for you:
- git remote add release https://github-dev.cs.illinois.edu/stat207-sp22-el1/_release.git
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.