When ur in the hospital, have someone bring home the hat or clothes the baby sleeps in. Let the dog sniff them to get used to the smell. Don't let the dog near the baby for a few days bringing him/her home. Continue with letting the dog sniff it's clothes. Then slowly introduce and let dog get closer until you feel comfortable. German shepherds are great fam dogs. U should be fine.
Easy both oof them into it. Show your child the proper way to play with the GS. And your GS should be fine. Just be there with both of them don't leave them alone together just yet