Interactive git workflow — click any command to animate how changes move between areas
Working directory
your edited files
Staging area
git index
Local repository
commit history
Remote / origin
GitHub · GitLab
add → commit → push
fetch · pull · restore · clone
git add
git commit
git push
git fetch
git pull
git restore
git clone
Click any command above to see how it moves changes through the git workflow.