"spinning up your own git server" isn't really a thing. Any server with ssh and git installed is a git server.