use export then clone to avoid git repo conflicts