pub(crate) fn restore_entries( entries: &[&GitStatusEntry], branch: Option<&str>, ) -> Result<()>
Delete newly created paths then restore modified paths.