change origin to ssh code example Example: git remote set url git remote set-url origin new.git.url/here