Who "invented" the concept of symmetries? This article is quite extensive, but it blurs the history with the modern understanding. https://plato.stanford.edu/entries/symmetry-breaking/
Some of the concepts can be traced to Galileo and Newton, but I'm quite certain the modern notion is incompatible with their view of the world. Does the notion come from group theory specifically? Can the first mention be traced accurately?
Although the spatial and temporal invariance of mechanical laws was known and used for a long time in physics, and the group of the global spacetime symmetries for electrodynamics was completely derived by H. Poincaré  before Einstein's famous 1905 paper setting out his special theory of relativity, it was not until this work by Einstein that the status of symmetries with respect to the laws was reversed.