git how to update repo from https to ssh code example
Example 1: how to change remote origin guit
$ git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
Example 2: set origin url git
git remote add origin <git_url>
$ git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
git remote add origin <git_url>