DEV Community

Jahkamso
Jahkamso

Posted on

Version Control Explained | Git

Alright, so what the heck is version control? Well the way I like to think of it is with an example. Imagine you wake up, bathe, dress up, go to work, etc... but then there's a little robot with a camera following you around, taking pictures of your every change in movement and place.

Now, in programming, this little robot is called Version Control, watching every change you make in your code and saving them in a little folder where you can come back and see the break down of everything you've done, every change you've made. That is what version control does for you with your code.

But it goes more than just watching you alone. Imagine you have a friend over, now that little robots expands it's camera lens to pick up a wider angle to capture everything you and your friend does, saving them in an organised way that shows you what changes you and your friend made throughout the day.

Now let's bring this example to programming. You're working with a team at your company, you and your teammates work on different parts of the project and make different changes. The same way this little robot watches you and your friend, it also watches the changes you and team members are making, then it shows all the changes made and who made the changes so that everyone knows what they've worked on and makes Collaboration easier.

We now know what version control is and how it can help us in our work.

If you learned anything from this article, drop a like, share, and follow to be notified on my next post. You can also check out my Youtube channel for some visual contents :)

Top comments (0)