Explain git like I'm five

I'm a five-year old and I want to learn about Git. Explain it to me!

Did you find this post useful? Show some love!

Imagine you are coloring on a flower-theme coloring book. You just thoroughly colored in green for the leaves and now it's time for you to get to the best part, coloring the petal. You know you enjoy red the best but it looked horrible after you finished it. With git, you can revert your choice of red in a heartbeat and you are also free to reapply the red if you change your mind. You sister came across your coloring book and she wants a piece of this. This is your coloring book and you don't trust her color-theory ability. With Git, you can grant her access to this coloring book; where she can copy the current state of your work and give it her own spin. Once she is done with it, you can accept or deny her work without affecting yours. With Git, a work doesn't have to be permanent; every action is recorded, reversible, and shareable.

I really love your analogy with coloring the flower petals!

Ben Halpern DEV.TO FOUNDER

Hey there, we see you aren't signed in. (Yes you, the reader. This is a fake comment.)

Please consider creating an account on dev.to. It literally takes a few seconds and we'd appreciate the support so much. ❀️

Plus, no fake comments when you're signed in. πŸ™ƒ

I'll explain it to you when you're older. :D

Classic DEV Post from May 12

What Developers Should Know from Microsoft Build

We're clearly entering a new era for Microsoft and for developers that moves from tools and platforms to cloud and services.

READ POST
Follow @remotesynth to see more of their posts in your feed.
Theofanis Despoudis
Senior Software Engineer @teckro, Experienced mentor @codeinstitute,@hack.hands, Technical Writer @fixate.io, git-book author
More from @theodesp
Explain Proof of Stake (PoS) like I'm five
#explainlikeimfive #discuss #blockchain
Explain Service Mesh like I'm five
#explainlikeimfive #devops
Trending on dev.to
What was your first ever contribution to Open Source?
#discuss #opensource #contributing
What is your routine for staying fit and healthy?
#discuss
Dev and Designer Communication
#discuss
Developer Interview Bloopers
#career #development #interviews #php
Quick Advice For Junior Devs
#discuss
What kind of breaks do you take throughout the work day?
#discuss
What's your Developer Story?
#discuss #career
Go or Python and why?
#go #python #discuss