Move all git logic to cb.git client addon