git archive — what a tarball leaves behind
A tarball is what a repository hands to everyone who will never clone it — and it is not the repository. What leaves, what stays behind, and why the same commit can compress to different bytes on a different machine.