If github goes down/becomes evil wouldn't it be trivial to just push your repo to another host? I guess there's other things that might tie you into their ecosystem, like wiki/issue tracking/static hosting, but git itself makes it pretty easy to just push elsewhere...
You can create dumps of remote subversion repositories, which can be used to recreate the repository. (Google suggests that this is called svnrdump; it's been a while since I seriously used svn.)
I admit that this isn't widely known, and that many people will actually be in trouble; but if you're prepared, you don't have to be.