Unless I’m misunderstanding what you’re saying, I think you’ve got it right: if you want discourse-qube
to use split-SSH, you need to make sure it’s configured as an “SSH client”.
Once that done, there isn’t anything special to do for Git, it just works. (That’s because Git interfaces with the SSH agent as usual, and the agent deals with split-SSH.)