There is an issue on GitLab to enable federated pull requests and I believe Gogs/Gitea community is working on getting some sort of standard figured out if I'm not mistaken.
Maybe a better option is to convince people like DigitalOcean to provide a prebuilt image.
But I’m not sure I agree with the conclusion here
You do need the network effect if you want git gone. GitHub is just easy enough to cross reference bugs in other repositories your project depends on.
Perhaps we should build something like gnu social (or diaspora, but not as bad) for code projects, or build on existing distributed social networks.