$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-mongodb.git /var/lib/mock/f33-build-333383-58335/root/chroot_tmpdir/scmroot/php-pecl-mongodb Cloning into '/var/lib/mock/f33-build-333383-58335/root/chroot_tmpdir/scmroot/php-pecl-mongodb'... $ git reset --hard c708be96fbdfa58d18401728f79f32b70a10cb96 HEAD is now at c708be9 v1.8.0