2026 Community Survey results are here! See how the Craft CMS community works. results are live!

What is the Working Tree in Git?

Another term demystified.

What is the Working Tree in Git?

Th Work­ing Tree in Git is a direc­to­ry (and its files and sub­di­rec­to­ries) on your file sys­tem that is asso­ci­at­ed with a repository. 

It’s full of the files you edit, where you add new files, and from which you remove unneed­ed files. Any changes to the Work­ing Tree are not­ed by the Index (see below), and show up as mod­i­fied files.

When you open the files for a project that is being man­aged as a Git repos­i­to­ry then you are access the Work­ing Tree.