Beginner Git & Version Control
Q5 / 100

What is the purpose of "git add"?

Correct! Well done.

Incorrect.

The correct answer is B) It stages changes (new, modified, or deleted files), preparing them to be included in the next commit

B

Correct Answer

It stages changes (new, modified, or deleted files), preparing them to be included in the next commit

Explanation

"git add <file>" moves changes from the working directory to the staging area (index), marking them to be included in the next "git commit".

Progress
5/100