As per request: Post-receive hook should be owned by gitlab user, not git.
Created by: mrrooijen
As per request: Post-receive hook should be owned by gitlab user, not git.
Ref: https://github.com/gitlabhq/gitlabhq/pull/1129#issuecomment-7298317
This might be why the restore functionality wasn't working properly. I'll give it another shot using this.