Non european students with child in germany

hello friends,
i am from pakistan.  at presently i am   living in germany on student visa. i am expecting a baby in few months. moreover i am single mother. 

i want to know that  does my child can stay with me in germany till the duration of my study. o e i have to  quit my study and go back to my country.
i hope someone can help me.

Ask at your Ausländeramt - I believe there is a way to get a visa for your newborn.