You can compare two different branches by choosing "GitLensInspect" > "Search & Compare"
If you can't see it on sidebar do the below:
Press Ctrl+Shift+P
(Windows/Linux) or Cmd+Shift+P
(Mac).
Type Git: Compare Branches
.
Select the two branches you want to compare.