$ git clone -n https://src.fedoraproject.org/rpms/pageedit.git /var/lib/mock/f40-build-771229-125933/root/chroot_tmpdir/scmroot/pageedit Cloning into '/var/lib/mock/f40-build-771229-125933/root/chroot_tmpdir/scmroot/pageedit'... $ git fetch origin a3b58de6c584337e3df9e45816f449fa3a7611b9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pageedit * [new ref] a3b58de6c584337e3df9e45816f449fa3a7611b9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a3b58de upload sources