thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Staging Area

The Git index where changes are prepared with git add before being recorded in the next commit.

Definition

The staging area lets you build a commit from selected changes rather than everything modified. Files move from untracked or modified to staged, then to committed.

Example

git add router.py stages only that file; git status shows it under 'Changes to be committed'.

Exam tip

Know the three states: working directory, staging area (index), and repository.

Related terms