Skip to content

Working directory

Also called Working tree

What is Working directory?

The actual files and folders you see and edit on your computer's file system for a specific Git repository.

The working directory contains the currently checked-out version of your project's files. It acts as your sandbox. When you edit, add, or delete files in your code editor, you are modifying the working directory. Git monitors this directory to see how it differs from the last saved commit.

How it relates to Orbit

Orbit checks a project working tree for uncommitted changes before starting queued work. See Git Tab & Recovery for details.

When you would use it

You interact with the working directory every single time you type new code or save a file in your project.

Common operations

  • Editing source code files in an IDE.
  • Running a local web server to test current file states.

Related terms

Where this is taught

Going deeper