Atom suddenly loses git integration

Atom 1.52.0
All working great. Then it suddenly loses git integration (it had been working ok for weeks).
It doesn’t recognise changes to the files so doesn’t put them in the unstaged changes area.
I closed/ restarted atom… no difference.

I ended up using command line to commit/push the changes.
After that I closed/ reopened Atom and it then acknowledged it was connected to the repo!