the git protocol has been federated and self-hostable since 2005. the part where a stranger finds your repo and stars it has not