No need to keep a command line prompt open. With Xcode 9, we get better source control management with GitHub integration built right in to the IDE.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4142-what-s-new-in-xcode-9-source-control-improvements