Reset repo correctly (check about user modification before resetting)