Use restangular instead of custom stuff to interface with GitHub