A blob is addressed by the hash of its content. Two files with identical content share one blob; names and modes live in tree objects and in the index.