The APIs should be all the same, just let you define your own GitHub server URL. I'll put up a PR later, as long as no one is opposed to this.