Generates code snippet from Github repository.