My first GitHub repository is from April 2020. I made it for a Harvard class, and the whole thing reads, "My name is Cara. I am enjoying this process." Six years later it is my first day of school picture, and it is still right where I left it.
You can take yours tonight. A repository is just a folder with a memory. Every change is saved with a date, so your future self can see exactly when you started.
Make the repository
- Go to github.com and make a free account.
- Click the plus sign at the top of the page and choose New repository.
- Name it hello-world.
- Check Add a README file.
- Click Create repository.
Congratulations. You are on the internet, with a date stamp.
Now make it yours
- Open the README and click the little pencil.
- Write one line about why you are starting.
- Click Commit changes. Then click it again. GitHub likes to be sure.
That second click is called a commit. It is a saved moment, and you just made your first one.
Why this comes first
Harvard's free CS50 has you log in with a GitHub account, so you will need one for the first assignment anyway. And it never stops being useful. Every website I run lives in its own repository, with every change it has ever had.
Tonight's step. Make the repository, write your one line, and send the link to a friend who keeps saying she is going to learn this stuff.
Quick answers
Is a GitHub account free?
Yes. GitHub's pricing page lists a Free plan at $0, and a free account is all these steps need.
What is a README?
The front page of a repository. It is a plain text file that says what the project is, and GitHub shows it as soon as someone opens the repository.
Do I need to know how to code to make a repository?
No. These steps are a few clicks and one sentence of typing.