
Create a remote source code repository when you want to access your project from another Mac, back up your project on a server, or share your project with others.
In the Source Control navigator (
), Control-click the repository, then choose Create [Project] Remote on GitHub” from the pop-up menu.
If necessary, choose the GitHub account or Add a GitHub Account from the Account pop-up menu.
Note: If you add a GitHub account to Account preferences, you won’t need to enter this information again.
Optionally, enter a repository name that is different than the project name.
Enter a description of the repository in the text field.
To allow public read access to the repository, select Public; otherwise, select Private.
Later, you can share the remote repository with collaborators so they can commit changes.
Click Create.
Xcode commits and pushes the changes to the server.