The Three Areas

Working directory, staging area, and repository

Git has three main areas: Working Directory (your files), Staging Area (ready to commit), and Repository (saved history).

You modify files in your working directory. Git sees them as 'modified'.

Working Directory

index.html (M)

Staging Area

Repository

git add »git commit »
Terminal
# Edit index.html in your editor