DEV Community

Discussion on: Explain Git like I'm five

Collapse
 
theoutlander profile image
Nick Karnik

Git is like a blank slate. You start a drawing and realize that you want to erase parts of it and try something else. At that point, you can go back in time and make another copy of that slate and continue working on two copies.

Later, your friends want to add their own illustrations on top of your work so they make a copy of one of your slates including your drawing and add their own artwork to it.

In the future, you and your friends might want to combine their artwork, so you could copy the art from one slate to another or make an entirely new slate with a copy of the combined artwork.

You can accomplish the above through Git.