GitHub Desktop can save discarded changes in the Trash, this would be a nice feature. 😁 [Discarded changes are saved in a dated file in the Trash](https://docs.github.com/en/desktop/making-changes-in-a-branch/committing-and-reviewing-changes-to-your-project-in-github-desktop#discarding-changes)