extract function github_get_url, supply (currently failing) tests