Fixed bug in gitupdate.php that prevented updates