unset $(git rev-parse --local-env-vars)
cd /var/www/dev/
git pull origin master 

See my newer Version of this hook