I meant ``$this->assertCount($commit->getRepository()->getReferences(), $branches)``. All branches in repository should have ``INITIAL_COMMIT`` as grand-grand-...-parent, so they all contains ``INITIAL_COMMIT``. We may create new branches on test repositories later, to test new features