Because it's incredibly dangerous to think your machines are more secure just because you own them. How much time per day do you spend making sure your machine and everything on it is secure?
We employ teams of people to keep your code safe on GitHub.
If you don't care about privacy, then you might as well just use github and have access to all of their cool collaboration features.