Allow wildcards for hooks

Hello,
would be nice if you could add support for wildcards for hooks so that fix* can be used to match every branch that starts with 'fix'.

Edited by Peet Petersen