$ git clone -n https://src.fedoraproject.org/rpms/kget.git /var/lib/mock/f41-build-846815-163192/root/chroot_tmpdir/scmroot/kget Cloning into '/var/lib/mock/f41-build-846815-163192/root/chroot_tmpdir/scmroot/kget'... $ git fetch origin b480704064ec7a56b668ef9589aeded795021a31:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kget * [new ref] b480704064ec7a56b668ef9589aeded795021a31 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b480704 24.08.0