Get some defaults from git

Wouldn't make sense to create a ``get_git_info`` to share 99% of the logic between ``first_question_hook`` and ``email_question_hook``?