Intermediate Git & Version Control
Q55 / 100

What does the ".git" directory contain?

Correct! Well done.

Incorrect.

The correct answer is B) All the metadata and object database for the repository, including commits, branches, tags, configuration, and the staging area — essentially everything Git needs to manage version history

B

Correct Answer

All the metadata and object database for the repository, including commits, branches, tags, configuration, and the staging area — essentially everything Git needs to manage version history

Explanation

The ".git" folder is the actual repository — it contains the object database (commits, trees, blobs), refs (branches/tags), HEAD, config, and index (staging area); deleting it removes all version history.

Progress
55/100