20 June 2022
You still have the repo online and offline, but they are not linked anymore
git init git remote add origin <origin>
git fetch origin main git reset --hard origin/main