What is Git?
Version control: every change saved, so a team can work on the same code and go back.
Ever saved a file as final, final two, final for real? Developers had the same problem, times a hundred people. That's why Git exists.
What it is
Git is a version control system. It records every change to a project's files, who made it, and why, so you can go back to any earlier version.
How it works
You make changes, then save a snapshot called a commit. Commits line up into a history. You can start a branch to try something without touching the main version, and merge it back when it works. Everyone keeps a full copy of the history, and they sync through a shared copy, often on GitHub.
Why it matters
Teams can work on the same code at once without overwriting each other, and when something breaks, you can see exactly what changed.










