get_github function

Handler function for GET requests from GitHub