Sadly Gitea isn’t included in the official Debian repositories, but this guide is easy to follow.