For use the xcode services you need to have the OS X Server application installed and configured, for that you can follow the next steps.
Now, on the following video you can see the xcode bot in action.
Note: You will see also how-to create the remote git repository using xcode.