The class has a dependency with PHP cURL
If that is not working for you, the class won't work for you.
Class namespace: namespace php\github;
$hub = new php\github\phpGithub();
echo $response->urlip ." " . $response->url ." " . $response->http_code . "<br>";
220.127.116.11 https://api.github.com/ 200
In tab Example you find a more comprehensive sample github api client