The following table shows some options for setting up a git server:

Server Licensing Compatibility Notes
Atlassian Stash Commercial Java-based
Atlassian FishEye (2.7+) Commercial Java-based Git repository hosting is deprecated
Gitblit Apache 2 Java-based
gitolite GPL v2
Gerrit Apache 2 Java-based Code review tool that can also be used as git server
Git over ssh Linux/UnixWindows
Gitosis GPL v2
GitStack Commercial Windows