$ git clone -n https://src.fedoraproject.org/rpms/squirrel.git /var/lib/mock/f40-build-2064637-49167/root/chroot_tmpdir/scmroot/squirrel Cloning into '/var/lib/mock/f40-build-2064637-49167/root/chroot_tmpdir/scmroot/squirrel'... $ git fetch origin ccb66c42fc700e5c3ec8a16bc8c61c176053c1f7:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/squirrel * [new ref] ccb66c42fc700e5c3ec8a16bc8c61c176053c1f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ccb66c4 - update to upstream version 3.2