A packfile (.git/objects/pack/*.pack) stores many Git objects in one file, with an .idx index for lookup. git gc and git repack create them, and fetch and push transfer them. See delta compression.