If project and team is small and server must be in-house, you can consider Azure DevOps Express. Free for 5 member teams and runs on single machine. However, hosted Azure DevOps would be my choice. When you consider hardware, configuration, maintenance, updates , backups , TCO is cheap.