I just realized there's already a post like this
Say you are writing a short story and you want to do a really good job. You might write the story on one sheet of paper, and then get another sheet of paper and write another version, and then keep writing more versions on more sheets of paper. After a while, you'd end up with lots of sheets of paper that weren't the version you were currently writing. You might put those sheets in a folder so that you can go back and see old drafts of your story.
You give that folder to your mom to keep track of, because you know that you can always ask mom for one of the versions of your story if you need it. Plus, mom keeps photocopies so she can give versions of your story to your siblings. Mom also keeps similar folders for the stories that your siblings write.
Git is the folder, and your pieces of paper are code. Your mom is GitHub.
But I think it's still useful to have another discussion, possibly more geared towards complete out-of-the-loopers.
The last phrase "Your mom is GitHub" could make a good "your momma" joke though 😁
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.