Other services including will change the URL bar to allow sharing of not only a specific file, but also the line number and which character your cursor is on that line. They will also have scroll position for all open files.
If you have text highlighted, it will also include that in the URL.
All of this means you can share a link with a very similar view of what you were seeing when you made the link.
SEO: Link href anchor hook