While both are filled with low quality content, personal experiments without public importance, etc. I think github has some high quality, community relevant content that DeviantArt lacks. I see it like both DeviantArt and something like ArtStation.
I have tons of silly projects on GitHub. The same thing for DeviantArt too, I would think the 1-hour programmer hackjob is probably just as bad as a 1-hour caricature.