git has a file system application feature.
The whole git file system is stored in the object database where:
From this two objects, you can rebuild a file system tree with the content.