Git deploy hook using native nodejs modules