It will be shared custody, but you as the mother will get the Aufenthaltsbestimmungsrecht, i.e. you get to decide in which location the child lives.
I don't see the judge allowing the child to travel outside Germany until he/she is at least 10, and even then only for holidays, i.e. up to 2 weeks.
Please read: https://www.toytowngermany.com/wiki/Divorce_in_Germany