The composition of the human milk (HM) microbiota and, consequently, the microorganisms that are passed on to the infant through breastfeeding, can be influenced by various factors such as the mother’s health and diet, gestational age, delivery mode, lactation stage, method of infant feeding, and geographical location. The aim of the Human Milk-Gest Study was to compare the microbiota of transient (postpartum 7–15 days) and mature HM (postpartum 45–90 days) of 44 mothers, and to investigate any potential changes associated with preterm birth, mode of delivery, and birth weight in relation to gestational age. The data were classified into five study groups: normal spontaneous delivery-term (NS-T) newborns, cesarean delivery-term (CS-T) newborns, preterm (PT) newborns (with a gestational age of less than 37 weeks), small for gestational age (SGA) newborns, and large for gestational age (LGA) newborns. An analysis of differential abundance was conducted using ANCOM-BC to compare the microbial genera between transient and mature HM samples as well as between other study groups. A significant difference was detected between HM samples at different sampling times and between the study groups (p < 0.01). In transient HM samples, Ralstonia, Burkholderiaceae_uc, and Pelomonas were significantly dominant in the LGA group compared to the NS-T, CS-T, PT, and SGA groups. In mature HM samples, Burkholderiaceae_uc, Ralstonia, Pelomonas, and Klebsiella were significantly dominant in the LGA group compared to the NS-T, CS-T, and PT groups, while Ralstonia, Burkholderiaceae_uc, and Pelomonas were significantly dominant in the LGA group compared to the SGA group. Differences were also detected between the transient and mature HM samples in the CS-T, PT, SGA, and LGA groups, but no differences occurred in the NS-T groups. In conclusion, we showed that Ralstonia, Burkholderiaceae_uc, and Pelomonas were significantly dominant in the LGA group in transient HM and continued in mature HM. The body mass index (BMI) of the mothers in the LGA group was not >30 at conception, however, the maternal BMI at birth and maternal weight gain during pregnancy were higher than in the other groups. The nutritional composition of HM is specifically designed to meet infant nutritional requirements during early life. Evaluating the effects of HM microbiota on infant microbiota composition and short- and long-term health effects in larger studies would be useful.