$ git clone -n https://github.com/xcp-ng-rpms/socat.git /var/lib/mock/v8.3-incoming-7305-19248/root/chroot_tmpdir/scmroot/socat Cloning into '/var/lib/mock/v8.3-incoming-7305-19248/root/chroot_tmpdir/scmroot/socat'... $ git reset --hard c29f8de006d8e060c9fc360139d015f81d7ab1cc Downloading SOURCES/socat-1.7.4.1.tar.gz (649 KB) HEAD is now at c29f8de Fix changelog dates in spec file