Where your changes live, and the commands that move them: add, commit, push, fetch, merge and pull.
| git add | Working directory → staging area: choose what goes into the next commit |
| git commit | Staging area → local repository: save a snapshot with a message |
| git push | Local repository → remote: share your commits |
| git fetch | Remote → local repository: download others' commits without touching your files |
| git merge | Local repository → working directory: combine those commits with your work |
| git pull | Fetch and merge in one command |