If you're not sharing the code then what's the benefit of GitHub over self hosted?
Not having to setup and maintain your own self hosted platform. And it also makes it easier to share with specific individuals if you want to.
Free backups
Not having to setup and maintain your own self hosted platform. And it also makes it easier to share with specific individuals if you want to.