Git: Revert Hunk at Caret
git.revertHunk Put the HEAD lines of the change at the caret back into the buffer (undoable; nothing is written).
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Git: Revert Hunk at Caret, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.