added gitfs and state folder stuff to op chapter4