git reset --hard origin/development code example Example: git reset head of master git fetch origin git reset --hard origin/master