Add pre and post release Git hooks