The rewrite-hooks.sh script is a deprecated wrapper for gitlab-shell's create-hooks script.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>