$ git clone -n https://src.fedoraproject.org/rpms/awscli2.git /var/lib/mock/f40-build-2074200-49392/root/chroot_tmpdir/scmroot/awscli2 Cloning into '/var/lib/mock/f40-build-2074200-49392/root/chroot_tmpdir/scmroot/awscli2'... $ git fetch origin 2f586ad6f7c386ba60a0e2319c4eb6220d0986d0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/awscli2 * [new ref] 2f586ad6f7c386ba60a0e2319c4eb6220d0986d0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f586ad [packit] 2.15.2 upstream release