SSH: "git" user and security ?

Hello,

I have added AllowUsers git in the file /etc/ssh/sshd_config.

There is a security risk ?

I tested ssh and sftp connection with the "git" user, it seems ok (no access to the server files and no access to the prompt ssh).