### Setup your local git config
1. [Generate a new SSH key and add it to your GitHub account](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)
2. Open your SSH config located in ~/.ssh/config and add the follwing lines:
```
Host *.github.com
AddKeysToAgent yes
UseKeychain yes
User git
HostName github.com
```
### Add a private github depencency and setup the deploy key on the server
The following instructions demonstrates how to add the private 'hello-world repository to your project.
#### 1 Add a deploy key for your server to the 'hello-world' repository
[Generate a new deploy key on your server and add it to the desired repository](https://developer.github.com/v3/guides/managing-deploy-keys/#deploy-keys)
#### 2 Setup your SSH config on the server
Open your SSH config file located in ~/.ssh/config and add the following lines:
```
Host hello-world.github.com
User git
HostName github.com
IdentityFile ~/.ssh/DEPLOY_KEY_NAME
```
#### 3 Add the 'hello-world' repository dependency to your project
To add the private repository 'hello-world' to your project add the following dependency to your package.json:
```
"dependencies": {
...
"hello-world": "git+ssh://hello-world.github.com/hello-world.git#RELEASE_VERSION
}
```