And before it was built-in there were plugins - should really mention 'git diff margin' here. Most editors have this kind of functionality to show little git diff stats directly in the editor, but this one is really top notch as it can actually show the diff and let you revert to or copy the original lines. Can't live without it anymore.