Lots of major free software projects are hosted by the project creators to avoid being screwed over by proprietary services.
Examples
If Microsoft were to release a competing link aggregator; then they could persuade GitHub (Microsoft’s subsidiary) into locking or removing the main repository for Lemmy’s source code.
You must log in or register to comment.
If that happens
git remote set-url origin newurl
Not saying self hosting the remote is not a good idea, just that the risk you mention is not so dramatic
Codeberg! Codeberg! Codeberg!