Golang is relative save in case of rces. The only problem is git with its hooks, but you need authentication to do harm. Gitea would rather crash than giving access to the attacker.
git server are not really in danger.
Unless you have very private data in your private repos: no
if you have your bankaccount password, your ssn or similar important data in your git repos: yes, but its your fault