Neeri is low skill so I'll only be covering things I am sure about. Feel free to correct me using the “Comments" function. Highlight some text and choose to comment on it.
<aside> 💡 Git is the system of managing and synchronizing your projects across devices.
</aside>
No matter if the devices are yours or of your teammates.
Your project on Git is called a repository. No, not even that.
Imagine you have a warehouse, with a secretary assigned to it. Your warehouse is the repository. Your secretary is Git. You really can store anything in your warehouse, it doesn't have to be arcade machines. It can just be a lot of books. Or a bunch of potato. Or a single sheet of paper.
Your secretary will document all of it, whatever it is. What went in, what went out, in what quantity, what got moved from shelf to shelf, and who's the truck driver.
It doesn't have to be a code project or a website's source code. It can, really, just be any files! But Git especially is nice when used with projects.
<aside> 💡 The way Git works, is that you upload your project to a repository, and then upload "changes" to your project over time, in batches called commits. That's pushing.
</aside>
A single commit has data on what it's called, when it was made, by who, what's its ID, and, most importantly, what changed.
Git tracks all changes done to files on a per-line basis. It will track what line of text in a file was deleted, added, or modified. Or if a whole entire file was deleted, added or modified.
Once you think it's time to save your progress, your unsaved (or rather, uncommitted) changes get summarized in a commit.