I just also want to make the argument that github is a walled garden, so is google code. They're proprietary systems that we're able to use and take advantage of. I use github and I love it, but it can still have the same potential issues as slack.
All that being said, I've personally been doing more things on a private git server and less things on GitHub.