Using username instead of email for API HTTP Basic Auth.
Adding user agent header, to satisfy requirement from the Github API
Using /user/repo (current user's repositories) instead of /user/:username/repos proved to work.
The repository directory doesn't exist BEFORE cloning. Don't go there.
reverts a424e69f22fe2e978478c2f2e42169bddf689efd