See customizable file annotations in the editor's status bar and in the gutter, the space beside the line number. Choose between:
Blame – showing the commit and author for each line.
Changes – highlighting any local, unpublished, changes or lines changed by the most recent commit.
Heatmap – to show how recently lines were changed relative to all the other changes in the file.