While I like (and recently started using) Sourcehut [1], I also hear and read good things about codeberg [2] these days. Haven't used it yet though.
Which may be good because EU privacy protection laws are stronger than US's. German laws specifically can be restrictive in other aspects though; e.g. there's no concept of protected free speech.