← TechnologyThe essentials of

Git status: working files, the index and history

Publisher: ResumeMaker • 1 source

Published: 22 Oct 2026 16:11 · Updated: 22 Oct 2026 16:11

AI source check: 22 Oct 2026 14:04. This is not editorial approval.

In a few sentences

In brief

git status distinguishes working-tree changes against the index, staged changes against HEAD and untracked files. These are different states, not one automatic publication list.

Useful to know

git status distinguishes working-tree changes against the index, staged changes against HEAD and untracked files. These are different states, not one automatic publication list. [1]

Before committing, inspect what is staged. Editing a file after git add can leave the latest edit unstaged. git status --short is convenient, but its two status indicators still need to be understood.

Sources

For further detail and to check the information:

  1. [1] Git - git-status Documentation ↗