Setting up a git server with Xcode

I have a Mac Desktop that I was hoping to use to host a git server. It has MacOS server installed, along with Xcode 9, and I have certificates set up inside of MacOS Server. I'm not looking to do anything particularly fancy, I'd just like to have this as a server for my git repos, and it may be that I don't even use Xcode for the development. Is it worthwhile/possible to use Xcode server for this? How would I get started?

Replies

I was going to recommend this document, but it hasn't been updated in over a year, sorry:


https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/PublishYourCodetoaSourceRepository.html