GitHub API: handles branches and commits

Github API learns to retrieve commits and branches.
Oui exemple: https://api.github.com/repos/privat/nit/commits/64ce1