I wonder if they considered or looked at using JGit? https://github.com/eclipse-jgit/jgit
It provides client and server API. The latter is used by Gerrit for its server. https://www.gerritcodereview.com
Not sure what the Java to WASM story is if that is a requirement for what they need.