Goodbye is the same as the traditional gesture for the word. Open your palm, folding down your fingers, then open your palm again. An ASL alternative for goodbye or bye-bye is to wave your open hand sideways, like a leaf swaying in the wind.
Goodbyegoodbye to your baby, and your baby learns to make the sign back.
This is a natural sign. Your baby will learn the motion through imitation.