Here’s a nice tip for finding all the commits related to some selected text in Magit:
In #magit of #emacs, M-x magit-log-buffer-file with a region selected, this will show the region related commits only. https://t.co/bnWwhrGKUw #git
— Jumpei KAWAMI (@junkw) November 16, 2021
I haven’t tried this in anger but it seems as if it could be useful when trying to figure out how a bit of code has changed over time.