That looks like it, thanks.
Per this, in .git/config file, change
url = https://github.com/SimonDedman/gbm.auto.git
to
url = git@github.com:SimonDedman/gbm.auto.git
Git commit fine, push (in rstudio) hit the problem:
> ssh_askpass: exec(/usr/bin/ssh-askpass):
> No such file or directoryHost key verification failed.
> fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
In the project folder, opened a terminal, did git push, add RSA fingerprint to known hosts, yes, sorted.
Cheers!