"git" is in the name but it's actually not tied to it so much. If you can implement those interfaces [1], you can port it to another VCS and everything else will work. It's not trivial but entirely possible.
[1]: https://github.com/MichaelMure/git-bug/blob/master/repositor...