changed github.js req and content to allow different datatype
use the github contents API