In case the blog post goes away, including the TL;DR here:
“First, highlight the code that you want to link to…
Then, tap the “y” key to jump to the last commit found for that region.”
Use this URL when you link to it.
This ensures that if the file changes days/weeks/months after you linked to it, the code you referenced will remain applicable.