There’s lots of self-hostable GitHub alternatives! The biggest missing gap is “login with X”, for many of them, plus enough pressure to do the move.
Discussion
What’s also missing is the decentralization to make code censorship resistant. Perhaps the hosts could be similar to nostr relays and PR can be a transaction log in a nostr note. This does seem to bleed into IPFS with the file storage requirement but a lot of code is small enough
Maybe but honestly I’m not sure what problem that’s solving