Instruction Consider you have already one origin url which you added by git remote add origin $url Now other URL you will add like that, git remote set-url --add origin $url That's all.