DEV Community

bblackwind
bblackwind

Posted on

Day 4 of My Learning Journey: What is Git & GitHub?

Hello ji 👋,
Welcome back to Day 4 of my coding/blogging journey. Honestly, when I first heard people throwing around words like Git, GitHub, and version control, I was like… “Bhai, yeh kya naya khichdi hai? Do I really need to learn this?” 😅

But after today’s session, I realized it’s not just fancy jargon. It’s actually something that every developer needs if they don’t want to lose their code, fight with messy versions, or struggle when working with others.

So let me share what I learned today in my own words 👇

🗂️ Version Control – The Real Hero
Imagine you’re writing an essay in MS Word. You make some changes, but suddenly realize the old version was better. Oops… too late! You didn’t save it separately.

That’s where version control comes in.
It basically keeps track of your code history — like a time machine ⏳. You can go back to any old version, compare, fix mistakes, or even undo disasters.

🛠️ What is Git?
Git is the tool that gives us this superpower. It’s like your personal diary for code:

Every change you make is saved as a snapshot.

You can jump between versions anytime.

You can even create separate “branches” to try new things without breaking your main code.

Fun fact: Git was created by Linus Torvalds (yes, the same legend who made Linux 🐧). Respect ✊.

🌍 What is GitHub?
Now, Git works locally on your computer. But what if you want to:

Show your code to the world?

Collaborate with friends/colleagues?

Store your projects safely in the cloud?

That’s where GitHub comes in.
It’s like Instagram for your code 📸. You push (upload) your code there, and others can see it, use it, or contribute to it.

👯 Collaboration in Coding
This is where things get fun. With GitHub:

Multiple developers can work on the same project without messing each other’s code.

You can review each other’s work, comment, and suggest changes.

Big companies run entire projects (like VS Code, React, and more) using GitHub collaboration.

So yeah… it’s not just for “storing code” — it’s a whole community + teamwork tool.

💻 Installing Git & Setting Up
Today I also installed Git on my machine. The setup was pretty straightforward:

Downloaded Git from git-scm.com.

Installed it with default settings.

Set my name & email using the terminal (so Git knows it’s me making the commits).

git config --global user.name "Your Name"
git config --global user. Email "your.email@example.com"
Enter fullscreen mode Exit fullscreen mode

And boom ✅ — my system is ready for upcoming tasks!

🎯 My Takeaway from Day 4
Before today, I thought Git/GitHub was “extra stuff” only pros used. But now I get it:
👉 Git is like your local time machine.
👉 GitHub is like your global showcase + team playground.

I’m excited because from here onwards, every project I work on will feel a bit more professional.

✨ Closing Thoughts
If you’re also just starting out like me, don’t be scared of Git & GitHub. Think of them as your coding insurance + social media for projects.

This was my Day 4 learning — thanks for reading till here! 🙌
If you liked this casual write-up, drop a like or comment. It keeps me motivated to share Day 5 too.

See you tomorrow! 👋

“If you’ve just started with Git & GitHub too, share your first experience in the comments! Let’s learn together ”

Top comments (0)