pub fn clear_head(root: impl AsRef<Path>) -> Result<()>
Detach HEAD: the next run starts a new line. Absent HEAD is fine.