What Is Git?
Meet version control
Version control records changes to your files over time. Instead of saving copies named project-final-v2, you keep one project folder and a history of meaningful snapshots.
Meet Git
Git is a distributed version control system. Every clone of a project includes the full history, so you can work offline and later sync with teammates on GitHub or another host.
Know the three areas
- The working tree is the files you edit
- The staging area (index) holds the next snapshot you are preparing
- The repository stores committed history
Think in commits
A commit is a saved snapshot plus a message describing why the change happened. Clear commits make it easier to review work, find bugs, and undo mistakes.
# Conceptual flow
edit files → git add → git commit → (optional) sync with a remote
Comments
One comment per signed-in account. Comments are saved with this page’s URL.