As a solo dev, working from home, the real reason I use Github is for off site backup.
Back in the SVN days we hosted our own server for a bunch of years, then moved to one of the many paid SVN hosts that existed.
I think I'm going to spin up another VPS and self host Forgejo at this point (or see if I can add it to one of my existing servers).