Update gitlab-shell.rb to enable external scripts that use the git user to read…

Open username-removed-381763 requested to merge joustie/omnibus-gitlab:master into master

Update gitlab-shell.rb to enable external scripts that use the git user to read and write in the hooks directory