In‐situ structural characterizations of electrochemical intercalation of graphite compounds