Gogs started it originally, but was forked into Gitea years ago and hasn't seen much development since.
Forgejo is a newer fork of Gitea after the IP rights to Gitea were (secretly) transferred to a for-profit company and some of the developers started to turn the project into a commercial open-core one.