Tracking a Branch in Submodule

Hi,

My repository has some submodules, and I set which branch of a submodule is used in the .gitmodules accordingly.

I can checkout the respective branch (i.e., set in .gitmodules) with git submodule update --remote; however, GitLab does not point to the branch that I set in .gitmodules:

If this is how Git works, then it is fine. Otherwise, I would like to understand what I am doing wrong.