How to block Googlebot from indexing?

Had anyone successfully blocked Google from indexing their Gitea site? I had them blocked using the Robots Exclusion Standard before putting my origin online and they indexed it anyway. I’m not open to creating a Google account to request removal.

Here’s my robots.txt file:

https://git.habd.as/robots.txt

And a related question on StackOverflow: