git remote set-url origin with port ssh code example Example: git set remote origin url git remote set-url origin new.git.url/here