I have imported another repo as a branch based on solutions here.
Now, the new imported branch is floated while it should be connect the way specified in the image.