Skip to content

The Git model

Working tree → index → local repo → remote. Every arrow is an explicit command.

graph LR
  W[Working tree] -->|git add| I[Index]
  I -->|git commit| R[Local repo]
  R -->|git push| Rem[Remote]
  Rem -->|git pull/fetch| R
  R -->|git checkout| W
  style R fill:#E8F5E9