I can confirm that it should be GitHub.connectToEnterprise(apiUrl,oauthAccessToken) I made that change locally and saw everything with my github enterprise start working