update_git.sh: fixed missing 'then' keyword