(cherry picked from commit 164826a39b)
164826a39b
This also makes documentation helper scripts executable.
Derived from https://github.com/githubbrowser/Pre-commit-hooks and https://gitlab.cern.ch/GeantV/geant/blob/master/hooks/pre-commit-clang-format