September 15th, 2017
Xcode 9 makes it easier to work with GitHub. Start by adding your GitHub account to Xcode. Go to Xcode’s Accounts preferences, click the Add button, and choose GitHub to add your GitHub account.
Once you add your GitHub account to Xcode, you can go to any GitHub repository and clone the project in Xcode by clicking the Clone or download button and clicking the Open in Xcode link. You have to be logged into GitHub for the Open in Xcode link to be available.
You can learn more about Xcode 9’s improved GitHub support by watching the following WWDC video:
You can also clone GitHub repositories from Xcode by choosing Source Control > Clone. A sheet opens.
In the search field you can search for a GitHub repository or enter the URL of the repository you want to clone. Select the repository you want to clone and click the Clone button.