git blame filename
If pycharm, then the current file on the right, select git -> Annotate, also can be displayed.