New insights on the spin-up of a neutron star during core collapse