Scripts to hook git actions