2021 answer
Here is the step by step guide:
- Install the GitLens extension: GitLens
- Then, Click on Source Control:

- Click on Search & Compare

- Click on Compare References

- Select the branches you want to compare:

- Now, You can select any file for which you want to see the diff from Search & Compare
