$ git clone -n https://src.fedoraproject.org/rpms/kapptemplate.git /var/lib/mock/f41-build-846148-162994/root/chroot_tmpdir/scmroot/kapptemplate Cloning into '/var/lib/mock/f41-build-846148-162994/root/chroot_tmpdir/scmroot/kapptemplate'... $ git fetch origin 3caa57155bb6cd8599f74a4f71208409d9829024:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kapptemplate * [new ref] 3caa57155bb6cd8599f74a4f71208409d9829024 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3caa571 24.08.0