Self-hosting. If you really need to push remotely, push to bare repo on your own cloud vm or setup gogs or forgejo.
I now start with local repos first and whatever I deem OSS-useful, I mirror-push from local to Github or anywhere else with forgejo.
Github was never really needed to use git for private projects.
I've been thinking about this. If you have any kind of home network with attached storage at all, setting your local Git to just use that seems like a logical step.
And then if you're still paranoid do a daily backup to like Dropbox or something.