Doc fixes: change head.oid to head.target in examples