$ git clone -n https://src.fedoraproject.org/rpms/lxterminal.git /var/lib/mock/f37-build-666746-74433/root/chroot_tmpdir/scmroot/lxterminal Cloning into '/var/lib/mock/f37-build-666746-74433/root/chroot_tmpdir/scmroot/lxterminal'... $ git reset --hard 7e7454a07c6529a5b64d7203e422e63f730d1319 HEAD is now at 7e7454a Update to the latest git