Working Directory
The working directory is the folder of files you actually see and edit on your computer. It is the current state of your project, separate from the staging area and committed history.
Git & DevOps
Git tracks three places: the working directory (your edits), the staging area (changes ready to commit), and the repository (saved commits). Files move from one to the next with git add and git commit.
Running git status shows you which working-directory changes are staged, which are modified but unstaged, and which are untracked.
Examples
Bash
git statusOutput:
On branch main
Changes not staged for commit:
modified: app.js
Untracked files:
notes.txt