$ git clone git git2
Cloning into 'git2'...
done.
$ stat .git/objects/pack/pack-00247519b7369a2f0c0ae1d8fbed9673caec1a6a.idx | head -3
File: ‘.git/objects/pack/pack-00247519b7369a2f0c0ae1d8fbed9673caec1a6a.idx’
Size: 40244 Blocks: 80 IO Block: 4096 regular file
Device: fc01h/64513d Inode: 13107640 Links: 2
$ stat git.c | head -3
File: ‘git.c’
Size: 19952 Blocks: 40 IO Block: 4096 regular file
Device: fc01h/64513d Inode: 12338950 Links: 1
It could be faster (and more space-efficient) to hardlink files in the
worktree, just like files in the object database are already
hardlinked.