git fetch --prune origin git reset --hard origin/master git clean -f -d
maybe you're lokking for git pull origin master or git pull origin main or git pull origin <branchname>