is there any way to reset your origin code example Example: git reset origin git fetch origin git reset --hard origin/master Remember this forever