babies initially have varied stool frequency and consistency.. some babies may pass stools 8- 10 times where as some may just pass once a day.. same goes with consistency and color.. varies with each baby and also depends on what the baby was given apart from breast milk.. the diet taken by the mother does not influence the stool color in the baby..
if the child is being fed with formulas, bottle feeds then this green coloration may also happen..
usually only breast milk is advised for first 6 months.. so if the child is only on breast feeds and has green colored stools there is nothing to worry as long as child is active , passing urine more than 6 times a day..
excess of mucus, foul smell, and blood tinge indicates infection and needs immediate attention by a pediatrician
coming to issue of excess gas.. if baby is being given any top feeds please stop till 6 months just give breast milk.. and while drinking milk children often swallow a lot of air.. hence after feeds burp the child by putting him on the shoulder for 10 - 15 min.. that should make the baby comfortable..
if he is crying cause of gas then place him in prone or on tummy for 4-5 min which helps release the gases and makes the baby comfortable..