You can clone with HTTPS or SSH.
git pull -s recursive -X theirs upstream master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.