Introductory Lab

In this course, we are going to use GitHub Classroom (not SVN), a service that makes it easy to create coursework repositories.

Task 1

Get a Github account. If you already have a GitHub account, please move on to the next step.

If you do not have a GitHub account please create one one now. You can get an account here: https://github.com/join. We encourage you to use your CNetID as your GitHub account name, if possible. If that name is already taken, try using your CNetID as a prefix in your Github username.

Task 2

Open a browser window and log into Github. We would recommend you connect your local SSH to your GitHub account. This will require you to create an ssh key and add it to your GitHub account. Follow the steps here for creating a new SSH key: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key. Then complete the addition of the key to your account by following the steps here: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account#adding-a-new-ssh-key-to-your-account. Note, you will want to leverage the SSH address, NOT the HTTPS address, when setting your local lab directory's upstream remote Git repository; this will be more clear when you accept an invitation link for an assignment.

Task 3

We will be using a repository for each lab. We have provided invitation URLs on Ed Discussion that you will use to request your labs repository. The repository will be called Lab#-GITHUB_USERNAME inside our organization on GitHub. For example, for Lab1, if your GitHub username is jdoe, the repository will be called lab1-jdoe. This repository will be private, and can only be viewed by you and the course admins.

When you open the invitation URL in a browser tab, you will have to complete the following steps:

Github may ask you to grant permission for GitHub Classroom to have access to your GitHub account. If you are asked this question, you should say yes and grant access to Github Classroom.
You must click “Accept this assignment” or your repository will not actually be created. Do not skip this step!

Below are the assignment invitations you are to use to have your assignment repos created:


If you run into any issues, please ask for help.