DEV Community

Cover image for WTF is version control thing ? Learn Git — Beginner Edition (Part 1)
Pratik Fagadiya
Pratik Fagadiya

Posted on

WTF is version control thing ? Learn Git — Beginner Edition (Part 1)

🤔WTF is “version control” ? Why should I care? Why should I learn it? Well, let me break it down for you in a way that’ll make you smile! 😄 Before going into deep I have a simple question for you.

Image description

Imagine you’re working on a super important project, and you’re saving it on your computer. Now, what if your computer decides to go on a vacation without telling you and takes your project with it? Disaster, right? 😱

Image description

But fear not, because that’s where version control swoops in like a code superhero 🦸‍♂️ to save your day! 🌟

Version control is like a magical time machine for your computer files. 🕰️It helps you to keep track of changes you make to your file over time.
With version control, Every change made to the code base is tracked. This allows software developers to see the entire history of who changed what at any given time 🕰️ It keeps track of all the changes you make to your project, like when you add new stuff or fix mistakes.

Image description

And here’s the cool part! Imagine you’re working on a project, and you want to try out some new ideas. With version control, every time you make a change, it’s saved as a snapshot. This way, if you mess something up or want to go back to a previous version, you can easily do that.

But wait, there’s more! You can also share your project with your friends and work on it together, without stepping on each other’s toes. It’s like painting a beautiful mural with your buddies without accidentally splattering paint on each other. 🎨

Image description

You can find out more from : What Is Version Control?


Now let’s talk about most famous version control system GIT.

Image description

One of the best advice I got from internet is, No matter what you are working as solo developer or team player, working in startup or in big tech company

GET GOOD AT GIT

Image description

  • Git was created by LINUS TORVALDS in 2005. There is no doubt he is a fucking genius from all of us.
  • Git is a popular choice as a version control system at any level company/solopreneur.

Image description

ENOUGHHHHH!!! I know Git is awesome blah blah blahhh! show me how it help me ?

Any benefits from using Git?

Absolutely Yes

  • Git allows you to track changes to your codebase over time.
  • Multiple developer can work on the same project simultaneously at same time
  • Developers can create separate branches to work on new features or fixes.
  • Git maintain complete history of your changes
  • Developer has own copy of the repository, means you can work offline as well

And there are lots of other benefits apart from these.

Image description

I think that’s enough information. I’ll get back to you soon with part 2 where you will understand and learn simple but effective git commands.

Top comments (0)