$ git clone -n https://src.fedoraproject.org/rpms/libspectrum.git /var/lib/mock/f31-build-94840-32515/root/chroot_tmpdir/scmroot/libspectrum Cloning into '/var/lib/mock/f31-build-94840-32515/root/chroot_tmpdir/scmroot/libspectrum'... $ git reset --hard 37ddf4e8a2d70758cf9ed3822262c253627c01e7 HEAD is now at 37ddf4e sync with latest upstream release