adds githooks to serve task and improves doc