$ git clone -n https://src.fedoraproject.org/rpms/LibRaw.git /var/lib/mock/f41-build-850538-165462/root/chroot_tmpdir/scmroot/LibRaw Cloning into '/var/lib/mock/f41-build-850538-165462/root/chroot_tmpdir/scmroot/LibRaw'... $ git fetch origin 85c78ca4922b84469195d0c29af5f444521f7c8f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/LibRaw * [new ref] 85c78ca4922b84469195d0c29af5f444521f7c8f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 85c78ca 0.21.3