ruby hooks for git