So You Wanna Git Good?
A beginner-friendly guide to setting up GitHub, your first repo, and a proper README
![]()
![]()
![]()
![]()
![]()
Note:
This guide is written for solo developers working independently with Git.
If youāre working in a team or contributing to shared repositories, some practices may differ.
A follow-up guide on team workflows, conflict handling, and collaboration best practices is coming soon.
Whether youāre starting from scratch or just tired of pretending to understand GitHub during meetings ā this guide is your new best friend. Weāll walk through how to set up a GitHub account, spin up your first repository, toss in a proper .gitignore, and drop a high-level README that doesnāt suck.
Why GitHub, Though?
- Itās where your code lives online.
- It makes collaboration easy.
- Itās basically a resume for devs.
- Version control saves your butt (often).
No command line skills required here. Just a browser and a pulse.
Step 1: Create Your GitHub Account
- Go to https://github.com.
- Click Sign up in the top right.
- Fill in:
- Email address
- Username
- Password
- Verify your account and pick a plan (free is fine).
- Confirm your email.
Done? Great. You now have a seat at the dev table.
Step 2: Create Your First Repository
- After login, click the + icon in the upper-right > New repository.
- Name it something meaningful, e.g.,
my-first-project. - Set visibility:
- Public: Share with the world.
- Private: Keep it to yourself (for now).
- Check the box to initialize with a README.
- Add a
.gitignorefile (see next section). - Choose a License (MIT is a safe bet for beginners).
- Click Create repository.
.gitignore: What It Is and Why It Matters
A .gitignore file tells Git what not to track (like node_modules/, .env, system files, etc.). This keeps your repo clean and professional.
How to add it (from the web):
- During repo creation, choose a preset based on your language (e.g., Python, C++, Unity).
- You can always add or edit it later.
Example for Python:
__pycache__/
*.py[cod]
.env
README: Your Projectās Front Door
You already added a basic one when setting up the repo, but donāt stop there. Your README should:
- Explain what the project is.
- Say why it exists.
- Help others get started.
Check out this guide for a deep dive:
Your README Sucks ā Hereās How to Write One That Doesnāt
Final Thoughts
Youāve now:
-
Claimed your GitHub presence.
-
Created your first repo.
-
Avoided
.gitignoreshame. -
Added a non-cringe README.
Thatās a solid start. Youāre officially more legit than 80% of āaspiring devsā on TikTok.
Next up? Weāll tackle GitHub Desktop and syncing projects.
Until then, keep poking around and donāt break anything. (Or do ā just use version control.)
Got questions? Want a deeper dive into something we touched on here?
Drop a reply below ā Iām always open to expanding guides based on what you need.