GitHub for Absolute Beginners
GitHub sounds scary. It is not. Think of it as a folder in the cloud that never loses your work and remembers every change you ever made. If you have ever wished you could undo something from last week, GitHub is that wish come true for your projects.
The words you will hear
| Word | What it really means |
|---|---|
| Repo | Short for repository. It is just one project folder kept on GitHub. |
| Clone | Copy a repo from GitHub down to your computer. |
| Commit | Save a snapshot of your work, with a short note about what changed. |
| Push | Send your saved snapshots up to GitHub so the cloud copy is current. |
Step 1: Make a free account
Go to github.com and sign up. It is free. Pick a username you would not mind people seeing, since it shows up in your project links. Confirm your email and you are in.
Step 2: Make your first repo
Click the green New button on your GitHub home page. Give the repo a name like my-first-project, tick the box that adds a README file, and click Create. You now have a repo. That was the hard part, and it was not hard.
Step 3: The clone, commit, push rhythm
Here is the good news. Your AI tool can do all of this for you with plain commands. You do not have to type these by hand, but it helps to see them once so they are not a mystery.