Git diff with line numbers (Git log with line numbers)

When I do a git diff or a git log -p, how do I get line numbers of the source file(s) inlined with the output? I tried to look it up man git-diff | grep "line numbers" and I tried googling but got