Saving changes before deleting local repo.