Introduction
A repository stores all the files and their changes over time. Committed history lets you see what was changed, when, and by whom. This helps track progress and fix mistakes.
When you want to save a snapshot of your project to keep track of changes.
When you need to see who changed a file and why.
When you want to go back to an earlier version of your project.
When you want to share your project history with teammates.
When you want to review the sequence of changes before deploying.