A microcosm of the wasm issue was captured in this thread:
https://github.com/isomorphic-git/isomorphic-git/issues/268
The community had good reasoning around implementing a web based git in JavaScript from scratch instead of compiling libgit2 to wasm.