If reply connot resolve url, check if the /home/doc2git/.ssh/id_rsa.pub content in the authroized_keys of git .ssh, which is in directory on server.
git clone git@github.com:doc2git/git-deployer.git;
bash git-deployer/deploy.sh;
- git ini,
- git remote add/set-url all ... ,
- git commit ... ,
- git push all ... ,
- Of course, you need to answser yes/no .