$ git clone -n https://src.fedoraproject.org/rpms/php-sebastian-recursion-context4.git /var/lib/mock/f45-build-28334-629/root/chroot_tmpdir/scmroot/php-sebastian-recursion-context4 Cloning into '/var/lib/mock/f45-build-28334-629/root/chroot_tmpdir/scmroot/php-sebastian-recursion-context4'... $ git fetch origin 3448451a9f87e1f8438f04a5035ea0c783855580:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-sebastian-recursion-context4 * [new ref] 3448451a9f87e1f8438f04a5035ea0c783855580 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3448451 v4.0.7