Refuse all requests involved in git push if the user has no write permission.

Fixes #1.