git remote remove origin git remote add origin URL git pull origin master --allow-unrelated-histories