Put all prompt-related code in 1 file

This makes it easy to share and read.
Re-add gitmessage template