Learn how to safely discard unstaged changes in Git using modern commands like git restore. Complete guide for both specific files and entire repository.