Git is decentralized. There's no way Github can affect your ability to deploy. Code can only be pushed there meaning it was written and exists somewhere else.
There's also no way to run your own private SSH or git server without paying a minimal monthly fee. Any such server or Internet connection will go down occasionally.
Nobody is going to stop you from finding an alternative that suits you better. Good luck.