The baseAddress
overload on GitHubClient
is for when you need to connect to a GitHub Enterprise environment. If you're just connecting to github.com, you don't need to specify it.
var client = new GitHubClient(new ProductHeaderValue("OctokitTests"));
var repository = await github.Repository.Get("octokit", "octokit.net");