Git annotations show detailed information on the origin of each code line (right-click the gutter and select Annotate with Git Blame).
Right-click an annotation and choose Show Diff to review the differences between the current and the previous version of the file.