Update migration script: Also fetch new orogin and reset master to new origin's master branch.