My question involves name change laws in the State of: MD

Hi everyone... Happy Holidays.

I have a complicated question. I want to plan and act accordingly. At least someone can point me in the right direction.

I am a Canadian citizen with a US greencard. I want to change my last name. My wife and I are planning to have a child in the immediate future. My questions:

1) Should I change my last name before having the child so the birth certificate with have the changed last name? Or

2) We have the child and change my name after my US citizenship? Go through the paperwork of a name change for the baby?

3) Can you change the last name of a child's birth certificate? Is it possible in Maryland. Please let me know.

Thank you for all replies.