$ git clone -n https://src.fedoraproject.org/rpms/kpat.git /var/lib/mock/f40-build-768971-125436/root/chroot_tmpdir/scmroot/kpat Cloning into '/var/lib/mock/f40-build-768971-125436/root/chroot_tmpdir/scmroot/kpat'... $ git fetch origin b3625e9f03b5c7dc8f0516ceb2730e0543b791c1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kpat * [new ref] b3625e9f03b5c7dc8f0516ceb2730e0543b791c1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b3625e9 24.01.85