Hi @User2024
Yes, your nationality plays a big role in this.
As long as you have Syrian nationality only, the situation is as follows:
If you have a child with your girlfriend, you can make an application for the child to come to Germany. It is at the discretion of the authorities whether to allow this, i.e. there is not an automatic right. They allow it for humanitarian reasons and with the welfare of the child as most important. Your residency status also pays a role as the rules are different depending on your residency. The mother would have to give her permission for the child to come.
If the child receives a permit, then the mother can apply to come to Germany as the parent of a child who has a residence permit. However, this is quite difficult and is only approved in cases where there would otherwise be an extraordinary hardship.
If you get German nationality and the child is then born with German nationality, the situation changes. The child as a German has the right to come and live in Germany. The mother has the right to come and live as the parent of a German child.
Best,
Éanna