This is a really good question.
We have wikileaks etc, but nothing to make it easy for digital preservation of things like this.
Perhaps for games a site like abandonia.com could setup a git server?
I bet there are a ton of people reading this page who have access to old code that if they deleted it, it would be gone forever.