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