The term "gm" can be understood as an abbreviation for "good morning." It's commonly used in informal communication, especially in text messages and online chat, to greet someone at the beginning of the day.
The abbreviation "gm" stems from the phrase "good morning," which has been used as a pleasantry since the early 19th century. The abbreviation has gained popularity with the rise of digital communication and texting.