We demonstrate active control of inhomogeneous dephasing and rephasing for single collective atomic spin excitations (spin-waves) created by spontaneous Raman scattering in a quantum memory based on cold 87 Rb atoms. The control is provided by a reversible external magnetic field gradient inducing an inhomogeneous broadening of the atomic hyperfine levels. We demonstrate experimentally that active rephasing preserves the single photon nature of the retrieved photons. Finally, we show that the control of the inhomogeneous dephasing enables the creation of timeseparated spin-waves in a single ensemble, followed by a selective readout in time. This is an important step towards the implementation of a functional temporally multiplexed quantum repeater node. Atomic ensembles provide an efficient way of reaching the strong interaction between matter and light required for the implementation of quantum memories, without the need for high finesse cavities. In addition, they give the possibility to multiplex quantum information, which is desirable in several applications. In particular, in quantum repeater architectures, this alleviates the limitation due to the communication time between the nodes [28]. In atomic ensembles, quantum information is stored as collective atomic spin excitations, called spin-waves. Single spin-waves offer the important advantage that they can be efficiently transferred to single photons in a well defined spatio-temporal mode thanks to constructive interference between the involved atoms. In 2001, Duan, Cirac, Lukin and Zoller (DLCZ) proposed a protocol to implement a quantum repeater using the heralded creation of spin-waves in an atomic ensemble [5]. Several demonstrations of the building block of the protocol have been reported [12,16,29] including functional elementary segments of a quantum repeater [30,31]. Most of these demonstrations however, used only a single spin-wave per ensemble, although several ensembles have been already implemented in the same atom trap [32,33].A recent theoretical proposal has shown that the ability to precisely control the quantum state of single spinwaves would open new avenues for the realization of more efficient, temporally multiplexed quantum repeater architectures [34]. In particular, it has been proposed that the implementation of controlled dephasings and rephasings of single spin-waves would allow the creation of several time-separated single spin-waves in a single ensemble which could be selectively read out at different times. Rephasing protocols have also been proposed and implemented for optical collective atomic excitations, leading to the storage and retrieval of 64 weak optical modes in a rare-earth doped crystal [35], with pre-determined storage times. The capability to control the dephasing of spin-waves has also been used recently to implement a coherent optical pulse sequencer [36], efficient light storage for bright [37] and weak coherent pulses [17] using the gradient echo memory protocol [38], as well as storage of several temporal mo...