

Git works through ssh. So you need the same system as sshing into your machine. You just make a user group git and then let git and ssh handle things. And if you don’t need people to push to your repo, then it’s a lot easier as it’s now similar to hosting a website/file server.
On this topic it’s also good at finding you a acronym full form that can spell out a specific thing you want. Like you want your software to spell your name/some fun world but actually have full form related to what it does , AI can be useful.