make proper hooks for github references