How โ๐ ๐ข๐ญโ works featuring ๐๐จ๐ฆ ๐๐ซ๐ฎ๐ข๐ฌ๐
Do you know that Hollywood has spent $178,000,000 making a movie, whose plot is exactly like how git works
๐๐จ๐ญ ๐ฃ๐ฎ๐ฌ๐ญ ๐ญ๐ก๐๐ญ, they have even featured ๐๐จ๐ฆ ๐๐ซ๐ฎ๐ข๐ฌ๐.
Let me first explain what Git is, using an example, and then I will come back to Hollywood and Tom Cruise.
For example, if youโre playing a game:
๐๐ญ๐๐ ๐ ๐จ๐ง๐ you cleared it perfectly, and saved it as a ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐
๐๐ญ๐๐ ๐ ๐ญ๐ฐ๐จ you cleared it perfectly, and saved it as a ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐
๐๐ญ๐๐ ๐ ๐ญ๐ก๐ซ๐๐ you cleared it perfectly, and saved it as a ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐
Started ๐ฌ๐ญ๐๐ ๐ ๐๐จ๐ฎ๐ซ, and you lost all lives in the beginning phases and ๐๐๐ฆ๐ ๐จ๐ฏ๐๐ซ.
๐ซ๐๐๐ ๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐ ๐๐ ๐๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐
No, you can start from those saved ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ๐ฌ
Ideally, you would start from ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐.
You went back to ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐, started stage four and you lost the lives the same way.
Maybe the problem happened after ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐ instead of ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐. Letโs go back to ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐, do some changes to your stage number three, then start stage number four and letโs see what happens. You lost all your lives the same way.
Maybe you took a wrong turn after ๐๐ก๐๐๐ค๐ฉ๐จ๐ข๐ง๐ญ ๐ง๐ฎ๐ฆ๐๐๐ซ ๐ instead, letโs revert to checkpoint number one. Make some changes, and clear stage two. Make some changes, and clear stage three. Try stage number four.
You cleared it. Game over. ๐๐๐ ๐๐๐
Now, think about it, what if a software lets you do that
You guessed it right, that is what Git does. It lets you move back and forth between checkpoints. Those checkpoints are just snapshots of your code that you save as different versions. And you can go back and forth between those versions depending on your needs.
==========================
Now letโs come back to Hollywood and Tom Cruise, I would recommend you go and watch the movie " ๐๐๐ ๐ ๐จ๐ ๐๐จ๐ฆ๐จ๐ซ๐ซ๐จ๐ฐ ". Its plot works exactly how โgitโ works.
If you have already watched that movie, ๐๐๐ญ ๐ฆ๐ ๐ค๐ง๐จ๐ฐ ๐ข๐ง ๐ญ๐ก๐ ๐๐จ๐ฆ๐ฆ๐๐ง๐ญ๐ฌ ๐๐๐ฅ๐จ๐ฐ
what you think? If not, I would recommend you watch it for educational purposes. If you liked the video, give it a