We started Forgejo in reaction to control of Gitea being taken away from the community by the newly-formed for-profit company Gitea Ltd without prior community consultation
People seem to forget how much time and energy self hosting needs. Especially for code, I would want some redundancy, backups and security. Yet another server you have to take care off.
I‘d recommend to stick to codeberg, even though forgejo looks very good.
I can confirm, forgejo is a good, very lightweight git server you can run on an rpi with room to spare. I'm running with postgresql as backend on the same rpi, mariadb is an option as well.
When you don't want to selfhost, gitlab is independant and EU (NL?) based, bitbucket is from atlasian (US?) and is also an option.