Git · Senior · Question 1 of 76
Which four object types make up Git's object database?
- ✓Correct answer: Blob, tree, commit and annotated tag
- 2Diff, patch, merge and stash
- 3File, folder, branch and remote
Explanation
Blobs hold file contents, trees map names to blobs and subtrees, commits point to a tree and parents, and annotated tags point to an object with a message. Branches are refs, not objects.