$ git clone -n https://src.fedoraproject.org/rpms/libsmi.git /var/lib/mock/f40-build-2242202-53669/root/chroot_tmpdir/scmroot/libsmi Cloning into '/var/lib/mock/f40-build-2242202-53669/root/chroot_tmpdir/scmroot/libsmi'... $ git fetch origin e2ba2dc9ea86074f58973c2f65a6cc5f03c3032d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libsmi * [new ref] e2ba2dc9ea86074f58973c2f65a6cc5f03c3032d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2ba2dc update source code to latest available, clean-up this ancient thing