Git – Setup Git-server on windows computer


How can I setup GIT server On-Premise on windows machine, so it is accessible privately, only from local network. Note that, I want to run GIT as server, not as Network Share.

Article in GIT documentation shows how to setup server only on Linux machines.

I have tried GitStack but I wasn't able to put it to work (possibly due to wrong configurations).

Best Solution

I use Bonobo git server on windows to serve my repositories via https using IIS as the web server. It works quite well but has some quirks when you want to have active directory (windows) authentication (you essentially need 2 Bonobo instances which I somehow didn't manage to get working). I access my Bonobo git repositories from Visual Studio, TortoiseGit and the git console, it just works as expected.