Yeah, Kroc, that's what I was thinking, "Why does there have to be specific open source licenses? Why couldn't CC apply to anything? Is code not a work just like anything else?" It doesn't make sense.
I've never used GitHub, but I'll look into it.