I'm confused.

I have a git repository, where I have checked out a branch other than master.

I open that repository in qgit and select the same branch in the "range" dialog box. Then I open the tree view, navigate to the file I'm interested in and double-click on it. Then I see in the file's history some commits that belong to master, but not the branch that I opened.

How do I control this behavior?

Thanks.