Add support for pre-push hooks