Rebuid project after git commit

Hi everybody,
after every commit on git of my project, when i try to run my code again, platformio give me this error:

Make sure that an opened project you are trying to rebuid is a PlatformIO project (e.g., contains platformio.ini).

If i copy the folder in other place, open it again, it works correctly.

Is it normal?

That is not a PlatformIO project. You should add Project as “Device” directly. In your case, you use Trace… > Device.