Configure git in deploy phase.