How to set up sshd so that it never asks for a password for a specific user?

You can disable password logins for that specific user. You can't provide a specific message, but at least they won't be prompted for a password. Add the following in /etc/ssh/sshd_config:

Match user git
    PasswordAuthentication no
    ChallengeResponseAuthentication no