DEV Community

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

Posted on

6 3

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

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More