git remote set-url upstream [paste url here]

Would be the single step version