Hi @Chizzy
I presume you applied for the residence permit paragraph 24, also called temporary protection, when you came to Germany.
Your residence permit does not automatically change when you become a father of a German child. You have to make an application for a residence permit according to paragraph 28, section 1, number 3 of the immigration law (Aufenthaltsgesetz), here in English via online translation:
https://***-gesetze--im--internet-de.translate.goog/aufenthg_2004/__28.html?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp
A person is not granted this residence permit only by being the parent of a German child, they must also have custody. For this reason, you will need to provide both of the documents ‘Recognition of paternity’ (Vaterschaftsanerkennung) and ‘Declaration of shared custody’ (Erklärung über das gemeinsames Sorgerecht) with your application for a residence permit. You get these documents by going with the mother to your local Jugendamt. You do not have to wait for the child to be born, you can do these already.
The immigration office has some discretion in the amount of time they will issue the permit for. In your case, I think it likely they will issue it for one year first as they may want to check your situation again after a year.
The fact that you are working is not relevant to your right to your current residency papers or to your status as the parent of a German child. It is, however, helpful that you are paying into the German social security system if in the future you wish to have permanent residency in Germany.
I wish you and your girlfriend all the best with the birth of your child!
Éanna