This is the C# code using Octokit I am using for Github client and to create the repository, but I am unable to configure it to website enable which we can do manually from the settings of the repository.
var productInformation = new ProductHeaderValue(GitHubIdentity);
var credentials = new Credentials(username, password, AuthenticationType.Basic);
var client = new GitHubClient(productInformation) { Credentials = credentials };
This is link for API https://github.com/octokit/octokit.net