Instantly share code, notes, and snippets.
git checkout main -- test.txt
git restore main -- test.txt