$ git clone -n https://git.cclinux.org/stage/rpms/git.git /var/lib/mock/dist-circle9-build-120235-84929/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-circle9-build-120235-84929/root/chroot_tmpdir/scmroot/git'... $ git fetch origin c9dfb79d38467a1347da0956ab67b191375e1002:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/git * [new ref] c9dfb79d38467a1347da0956ab67b191375e1002 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c9dfb79 import git-2.43.0-1.el9