DEV Community

Cover image for Explaining Git to a 10 years old!
Anushree Chatterjee
Anushree Chatterjee

Posted on

Explaining Git to a 10 years old!

Imagine having an awesome collection of Pokemon stickers you ask your friends to exchange some of them with yours. Everything is cool until the very next moment when you find out that your favourite sticker is lost or is dumped somewhere...you are sad now just because of those stickers but then your friends offer you the same sticker with the same Pokemon on it cause they were having the copies of those stickers now you are happy so you go back to your house and keep the sticker somewhere safe so that it never gets lost again.

For Developers:

Here "having an awesome collection of Pokemon stickers" indicates your repositories in GitHub.

When you lost track of what is the status of your repository is indicated by "sticker getting lost or dumped".

But then you have already created branches of your main branch so there you can revert your actions and make the necessary changes in your repository without hampering your main branch

Top comments (2)

Collapse
 
tausifsh86 profile image
Tausifsh86

One of the best explanations ever seen.Good job!

Collapse
 
romaissalmh profile image
romaissalmh

very good explanation ! Thank you