Gene, chromatin and genome regulation in early embryos and in stem cells, with a focus on the impact of mitosis in cell identity.