# Reset Files How to reset files from another branch. ```sh # New way git restore my/file.md # Old way git checkout origin/HEAD -- my/file.md ```