$ git clone -n https://src.fedoraproject.org/rpms/xkbcomp.git /var/lib/mock/f40-build-788447-135159/root/chroot_tmpdir/scmroot/xkbcomp Cloning into '/var/lib/mock/f40-build-788447-135159/root/chroot_tmpdir/scmroot/xkbcomp'... $ git fetch origin cb83bf05816f8bf724be97663762ab02eaa176b2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xkbcomp * [new ref] cb83bf05816f8bf724be97663762ab02eaa176b2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cb83bf0 xkbcomp 1.4.7