This guide will walk you through creating a GitHub account, creating a new repository to contain all the homework for one week, and creating new a file for each assignment in that homework.
- Head over to GitHub.com.
- Enter your choice of username, your College Prep email address, and your choice of password.
- Click the big green "Sign up for GitHub" button.
- If prompted, choose the "free" plan.
-
Click the green "+ New repository" button:
-
Give your repository a useful name and description, make sure the box marked "Initialize this repository with a README" is checked, and click the "Create repository" button:
-
Click the "Create new file" button on your repository page:
-
Give your new file a sensible name, like "puzzle1.js". The file extension you choose (".js" here) should match the programming language used in the file; for Rudy, that's javascript, so use ".js". For Processing, use ".pde"; for Arduino, use ".ino".
Then, paste your code into the "Edit new file" tab.
Finally, click the "Commit new file" button.
-
If you later wish to make changes to your code, you can do so through github as well. First, find the file you'd like to change, and click on the file name:
Then, click the "Edit this file" icon:
Make your changes as in step 2 above.





