linking R 1.4.1717 and Github via SSH keys

Description of issue -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version: R 1.4.1717
  • OS Version: 10.15.7
  • R Version:
  • sessionInfo():

Referred here from support.rstudio.com

If you don’t have a global .git/config, run below in terminal

git remote set-url origin git@github.com:username/repo.git

where repo is the name of your repository.