core: dset - function to push a new branch and return its pointer