Conditional setup for git server.