Git · Senior · Question 5 of 76

How do packfiles keep repositories small?

Explanation

Loose objects are full zlib-compressed snapshots; packing finds similar blobs and stores one fully and others as deltas. That's why snapshots don't cost as much as they sound.

Further reading

Problem with a question

Git · Senior · question 5

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