$ git clone -n https://src.fedoraproject.org/rpms/gpgme.git /var/lib/mock/f40-build-735324-106334/root/chroot_tmpdir/scmroot/gpgme Cloning into '/var/lib/mock/f40-build-735324-106334/root/chroot_tmpdir/scmroot/gpgme'... $ git fetch origin 45066602bbb9af881326dc433a4b903561f67e60:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gpgme * [new ref] 45066602bbb9af881326dc433a4b903561f67e60 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4506660 updated to 1.22.0