 <p>in my case I enter submodule directory without doing </p> <ul> <li><code>git submodule init</code> </li> <li><code>git submodule update</code></li> </ul> <p>So git was linked to the parent folder that indeed missed that branch.</p>