Xcode aren’t keen when deleting files or directory without it being notifies and there refused to commit which is a pain. What worked to fix it was to recreate an empty folder with the same name. No need to recreate its contents. After you committed you can delete the folder and commit again. Xcode is missing