Git · Senior · Question 1 of 76

Which four object types make up Git's object database?

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.

Further reading

Problem with a question

Git · Senior · question 1

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz