You can link directly to a line by appending #<line_number>
https://github.com/torvalds/linux/blob/f4bc5bbb5fef3cf421ba3...
https://github.com/torvalds/linux/blob/f4bc5bbb5fef3cf421ba3...
github.com/user/repo/blob/master/foo/bar/baz.py
But this file can change, meaning this url might not have the same content a week or month down the road. This is particularly troublesome when you have lines selected. To fix this, press `y` and your url will get expanded to include the current commit hash: github.com/user/repo/blob/e4ecae.../foo/bar/baz.py
Now your URL is safe to share.i.e.
https://github.dev/torvalds/linux/blob/f4bc5bbb5fef3cf421ba3...
https://github1s.com/torvalds/linux/blob/f4bc5bbb5fef3cf421b...