The current best way to check how to setup a local/corporate network setup is using the Git documentation. Specifically, this one - https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server