There's a neat library for the GitHub API compatible with Arduino and esp32 devices
https://github.com/aeonSolutions/AeonLabs-GitHub-API-C-library