$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-var-representation.git /var/lib/mock/f37-build-637335-70165/root/chroot_tmpdir/scmroot/php-pecl-var-representation Cloning into '/var/lib/mock/f37-build-637335-70165/root/chroot_tmpdir/scmroot/php-pecl-var-representation'... $ git reset --hard 09a3f46cf16019a6fe3d0372d79165259558dbe2 HEAD is now at 09a3f46 v0.1.2