$ git clone -n https://src.fedoraproject.org/rpms/matio.git /var/lib/mock/f42-build-864668-172514/root/chroot_tmpdir/scmroot/matio Cloning into '/var/lib/mock/f42-build-864668-172514/root/chroot_tmpdir/scmroot/matio'... $ git fetch origin 4134afef7a0ad629e8d527d40cdb1d099feed4c7:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/matio * [new ref] 4134afef7a0ad629e8d527d40cdb1d099feed4c7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4134afe 1.5.28