I'm working on a locale repository
# post-receive -- script
git --work-tree='/var/www/some_git_repo' --git-dir='/var/repo/some_git_repo.git'
Well, this response is not the preferible solution, but it resolve the problem, by updating the working-tree with a simple executable script:
rsync -arv --exclude=something_tobe_excluded \ --progress repo_source-dir working_tree
Every file/directory_path, must be specified as a single argument. (on the