My baby is 2 months old and I am mostly breastfeeding her apart from once in a day when I give her formula. Sometimes she is very uncomfortable due to this and am trying to know some home remedies for this. I do not want to give any medication. Please suggest.
Give freshly prepared apple juice. Make sure you strain and dilute it before giving to your baby.
will homeopathy be okay for such a little baby. why don't you ask some homeopathy doctor.
My baby had similar issues then his doctor instructed to put Vaseline on the thermometer and insert it in her anus. And to my surprise it did work. As soon as I took out the thermometer poop came out.

Apart from apple juice, prune juice is also helpful.
have you tried switching from breast milk to bottle milk and then the other.
for such a little baby, it is very likely that milk is causing this. in fact babies usually tend to do poo more than breast fed babies. i hope you are not comparing her to other babies who are bottle fed.
One of my friend take a piece of soap and inserts through the anus upto 2-3 millimeter. I have seen her using this trick for her baby and it does work. Gas came out and then the poop.