Version Control 101: Navigating Git & GitHub Like a Pro


Welcome back to LishTech Chronicles β where tech knowledge meets good vibes πͺπ½π₯. If you're a developer or aspiring to be one , you've probably heard people throw around the words Git and GitHub like secret codes in a tech cult. Well, worry not! Today, I'm spilling all the tea βοΈ on how to become a Git Boss β without breaking a sweat.
What is Version Control? π€
Imagine writing code without a backup... and then your laptop crashes π. Or worse, your code is working perfectly, but you decide to "just add one more feature" β and BOOM! Everything breaks. That's where Version Control Systems (VCS) like Git come in β your personal time machine for code.
What is Git?
Git is that silent guardian, that watchful protector... a Dark Knight π¦β¨ for your code.
Simply put, Git helps you track changes in your code so you can:
Go back to previous versions
Collaborate with others
Avoid breaking your whole project with one small mistake (aka Developer Heartbreak ππ»)
Here's how Git works behind the scenes:
Installing Git π₯
No installation, no magic β let's get Git installed:
π Download Git here (https://git-scm.com/downloads)
After installing, open your terminal and type:
git --version
If you see a version number, congrats π β you're officially a Git Developerβ’!
What is GitHub? π€
Now, if Git is your time machine, GitHub is the cloud where all your time-travel adventures are stored βοΈπ.
Git helps you track changes locally... but GitHub helps you share your work, collaborate with others, and even contribute to open source projects.
How to Push Your First Project π
Create a repo on GitHub
Copy the repo URL
Back to your terminal:
type;
git remote add origin URL
git push origin main
Boom π₯! Your project is live and ready to break the internet.
Bonus Tip π₯: How to Impress Interviewers with Git
When they ask: "Do you know Git?"
You reply: "I don't just know Git... I commit to Git."
Conclusion
Git & GitHub might sound like a tech power couple β but once you get the hang of it, you'll realize they're more like your loyal ride-or-die besties. So if you're still out here coding without version control... I'm judging you silently π.
Author: lishyamuchiri
Subscribe to my newsletter
Read articles from Leah Muchiri directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
