use rawgithub to get correct mime type