Git: Show Commit for Line

git.blameShowCommit

Open the diff for the commit that last changed the caret line.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for Git: Show Commit for Line, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.

See also