$ git clone -n https://src.fedoraproject.org/rpms/mythes-ca.git /var/lib/mock/f40-build-2012275-45780/root/chroot_tmpdir/scmroot/mythes-ca Cloning into '/var/lib/mock/f40-build-2012275-45780/root/chroot_tmpdir/scmroot/mythes-ca'... $ git fetch origin 4cb27bf2904376ebbd3b7523de1a486b4c00eef2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/mythes-ca * [new ref] 4cb27bf2904376ebbd3b7523de1a486b4c00eef2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4cb27bf Resolves:rh#2230534 - Update to new Upstream Source