def configure_octokit(opts = {})
      base_url = opts[:base_url] || base_github_api_url_for_remote
      Octokit.configure do |c|
        c.api_endpoint = api_endpoint(base_url)
        c.web_endpoint = web_endpoint(base_url)
      end
      if logger.level < ::GitProc::GitLogger::INFO
        Octokit.middleware = Faraday::RackBuilder.new do |builder|
          builder.response :logger, logger
          builder.use Octokit::Response::RaiseError
          builder.adapter Faraday.default_adapter
        end
      end
    end
def configure_octokit(opts = {})
      base_url = opts[:base_url] || base_github_api_url_for_remote
      Octokit.configure do |c|
        c.api_endpoint = api_endpoint(base_url)
        c.web_endpoint = web_endpoint(base_url)
      end
      if logger.level < ::GitProc::GitLogger::INFO
        Octokit.middleware = Faraday::RackBuilder.new do |builder|
          builder.response :logger, logger
          builder.use Octokit::Response::RaiseError
          builder.adapter Faraday.default_adapter
        end
      end
    end
Configures Octokit to use the appropriate URLs for GitHub server.

 @option opts [String] :base_url The base URL to use for the GitHub server; defaults to {#base_github_api_url_for_remote}

 @return [void]

 @todo remove opts and pass in base_url directly