Codeberg is one of the largest Forgejo instances, run by a German non-profit, and is where Forgejo is developed. It also has a hosted Actions runner (Woodpecker CI) and is pretty close to Github overall.
There is one important feature difference: it does not allow for private closed-source software. Only temporarily private repos.
Check out this blog for a Github -> Codeberg migration story:
While the company has a questionable record and a controversial business model, Brave Browser is an open-source browser with good privacy features.