git update check worked for deleted files and updated files