$ git clone -n https://src.fedoraproject.org/rpms/squid.git /var/lib/mock/f38-build-720939-97982/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/f38-build-720939-97982/root/chroot_tmpdir/scmroot/squid'... $ git reset --hard e8590f9b27a483a79b621507bf44d6e3610279c2 HEAD is now at e8590f9 new version 5.9