This is not a "full clone" but "something like GitHub" but for your own private server.
> I understand that the server-side implementation is based on GitHub as a black box
No, it's not. The serverside is implemented in Scala using a JGit as a GIT library for the files and H2 database for saving the metadata.