<?php
exec("cd .. && git reset --hard 2<&1",$out);
exec("cd .. && git pull 2<&1",$out);
header('Content-type: application/json');
echo json_encode($out);