$ git clone -n http://git.inferitos.ru/rpms/httpd.git /var/lib/mock/inferit-9_1-updates-build-7731-13590/root/chroot_tmpdir/scmroot/httpd Cloning into '/var/lib/mock/inferit-9_1-updates-build-7731-13590/root/chroot_tmpdir/scmroot/httpd'... $ git fetch origin changed/i9/httpd-2.4.53-7.el9_1.5.inferit:KOJI_FETCH_HEAD fatal: couldn't find remote ref changed/i9/httpd-2.4.53-7.el9_1.5.inferit $ git reset --hard changed/i9/httpd-2.4.53-7.el9_1.5.inferit fatal: ambiguous argument 'changed/i9/httpd-2.4.53-7.el9_1.5.inferit': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'