git undo изменяет один файл

# git checkout -- <file-path>

# Example
git checkout -- /Users/first.last/.../some-file.cs
Banana in Transit