Were not writing the remote from scratch, it's using git itself as the backend.
Discussion
Yeah, we're sort of weird. We actually think git is pretty good and a bit decentralized.
If you ever want to do that, Git is not much different than a key-blob store