Basic support for keeping a ref to the parent branch.