...
Next is add the public key into the GitHub repository, please link to the repository and click Setting tab in the upper right. Then click Deploy keys → Add new → paste in the Public Key.
Back to the server, if the git repo already exist, we need to update the remote url.
...