git hook: convert "Here Strings" to "Here Documents"

"Here Strings" are a BASH feature while "Here Documents" are POSIX.
Merge pull request #212 from toxeus/shPosix

git hook: convert "Here Strings" to "Here Documents"