Course file
week00_github_setup/README.md
Prerequisite: Complete Step 0 (1Password Setup) first. You'll need your SSH key and a generated password ready before starting here.
Before you start the course, you need a place to save your work. That place is GitHub.
Git is a tool that tracks changes to your files. GitHub is a website that stores your project online so you can access it from anywhere and show your work to others.
Why bother? Every week you'll write code, fill in reflections, and run experiments. Without Git, that work lives on one computer and nowhere else. With Git, it's backed up, versioned, and visible.
That's it. You have a GitHub account.
You generated an SSH key in Step 0. Now tell GitHub about your public key so it can recognize you.
cat ~/.ssh/id_ed25519.pub
My Laptop (or whatever machine you're on)GitHub will now accept your SSH key instead of asking for your password.
ai-learning-course (or whatever you want to call it)You now have your own copy of all the course files.
Git is a command-line tool. You need it on your computer to download and upload your work.
Mac: Open Terminal (search for "Terminal" in Spotlight) and paste:
xcode-select --install
A popup will ask you to install developer tools. Click Install and wait for it to finish.
Windows:
Linux: Open a terminal and paste:
sudo apt install git
If any step doesn't work on your machine, copy the error message and paste it into ChatGPT, Claude, or any AI assistant. Tell it what you were trying to do and what happened. Something like:
"I'm trying to install Git on my Mac. I ran
xcode-select --installand got this error: [paste error here]. How do I fix this?"
This is a real skill — learning to debug with AI is something you'll use throughout this course and beyond.
Open your terminal (Terminal on Mac, Git Bash on Windows) and run these two commands. Replace the name and email with yours:
git config --global user.name "Your Name"
git config --global user.email "your@email.com"
This is how Git signs your work. Use the same email you used for GitHub.
This downloads your repo to your computer. Use the SSH URL (not HTTPS) so your SSH key handles authentication automatically.
In your terminal, paste this command — but replace YOUR-USERNAME with your actual GitHub username:
git clone git@github.com:YOUR-USERNAME/ai-learning-course.git
Then move into the folder:
cd ai-learning-course
You should now see all the course files on your computer.
Open the README.md file in any text editor. At the very top, add a line with your name:
# My AI Learning Course - [Your Name]
Save the file. Then run these three commands:
git add README.md
git commit -m "Add my name to README"
git push
What just happened:
git add — stages the file (tells Git "I want to save this change")git commit — saves the change with a labelgit push — uploads it to GitHubsave, label, upload. That's Git in three commands.
Go to your repo on GitHub: https://github.com/YOUR-USERNAME/ai-learning-course
You should see your name in the README. If you do, you're set. Week 0 is done.
When you finish a week's work, save it to GitHub:
git add .
git commit -m "Complete week 1"
git push
Replace the number with whatever week you just finished. That's it — three commands, every time.
Your commit history becomes your progress log. Anyone looking at your repo (including future you) can see exactly what you did and when.