Early-time dynamics of gluon fields in high energy nuclear collisions