Gitea is a self-hosted open-source git management platform. I have found it to be much snappier than Gitlab. The memory footprint of a Gitea docker instance was also found to be significantly lower than that of a Gitlab instance in my short experimentation with both.
The instructions to configure fail2ban