Following this question, proving the equivalence between equation $(1)$ and $(2)$, I deduced that $$d\langle X \rangle_t = d X_t dX_t$$ (where $X_t$ was an Ito's process, hence a semimartingale).
I would like to discover why the equation above holds.