Julia Evans recently asked if anyone had created a read-only FUSE filesystem for a git repository where each commit is a folder containing all the files in that commit. I actually did something similar when I was experimenting with FUSE, but I never shared it because the build process was annoying and it didn’t seem very useful. However, Evans requested to see it, so I’ve cleaned it up as a SwiftPM package. It should work on macOS and Linux as long as you have the necessary dependencies installed. If you’re interested, you should definitely check out Julia Evans’ blog posts and zines, which offer accessible insights into various software topics with a sense of discovery and enjoyment.
https://belkadan.com/blog/2023/11/GitMounter/