---
# System prepended metadata

title: Backing up your Xcode Project with GitHub

---

# Backing up your Xcode Project with GitHub

The benifits of using github to back up your xcode projects is that if something happens to the hardware with whi h you are developing your project. The Software is automatically backed up. Not only that since GitHub has built in VCS it also helps in rolling back from buggy updates. 

1. Open Xcode.
2. Go to Xcode Menu.
![](https://i.imgur.com/rtblEWB.png)

2. Click on Preferances under Xcode.
![](https://i.imgur.com/NvesHr9.png)
3. Click on Accounts. Then on the small '+' button on the Bottom Right side of the screen.
4. From the popup menu. Select GitHub.
![](https://i.imgur.com/J8dGYgG.png)
5. Go to your Github page. Click on your Photo on the top right side.
![](https://i.imgur.com/RxjkG2C.png)
6. Go to 'Settings'
7. Go to Developer Settings.

![](https://i.imgur.com/Vw5ljbr.png)
8. Go to Personal Access Tokens

![](https://i.imgur.com/iBDngW9.png)
9. Go to Generate New Token

![](https://i.imgur.com/P0Oe77i.png)
10. Give the following Accesses to the tokens.
![](https://media.giphy.com/media/crUxii08a36VJJ3nrV/giphy.gif)
11. Copy the token and paste it into the Xcode Dialogue Box.
![](https://i.imgur.com/Pb6NpQO.png)
12. Sign In
13. Go to Source Control navigator.
![](https://i.imgur.com/46mDCSS.png)
14. Go to the Remotes
![](https://i.imgur.com/Fn46wI7.png)
15. Right Click and New '______' Remote.
![](https://i.imgur.com/8DaAWz0.png)
16. Click Create.


** NOTE: 
In case you see your Source Control to be empty. Go to Menu Bar > Source Control > New GitHub Repositories. And Add a new repository.
**