Cannot git commit data changes?

I’m starting to introduce dvc for a project, and I have successfully pushed some data to a remote, but when I run dvc data status it says I need to git commit them still, but there doesn’t seem to be anything relevant to commit:

$ dvc data status
DVC committed changes:
  (git commit the corresponding dvc files to update the repo)
        added: data\figures\
        modified: data\csv\
(there are other changes not tracked by dvc, use "git status" to see)

and

$ git status
On branch data-storage
nothing to commit, working tree clean

What am I doing wrong?

What do you see in dvc data status --granular?

Also please share the dvc doctor output.

dvc doctor:

DVC version: 3.59.2 (pip)
-------------------------
Platform: Python 3.12.1 on Windows-11-10.0.26100-SP0
Subprojects:
        dvc_data = 3.16.10
        dvc_objects = 5.1.0
        dvc_render = 1.0.2
        dvc_task = 0.40.2
        scmrepo = 3.3.11
Supports:
        azure (adlfs = 2024.12.0, knack = 0.12.0, azure-identity = 1.21.0),
        http (aiohttp = 3.12.2, aiohttp-retry = 2.9.1),
        https (aiohttp = 3.12.2, aiohttp-retry = 2.9.1)
Config:
        Global: C:\Users\yedema21\AppData\Local\iterative\dvc
        System: C:\ProgramData\iterative\dvc
Cache types: hardlink
Cache directory: NTFS on C:\
Caches: local
Remotes: azure
Workspace directory: NTFS on C:\
Repo: dvc, git
Repo.site_cache_dir: C:\ProgramData\iterative\dvc\Cache\repo\b15aaf17d9e5d9c55261b2f1ece50a67

The dvc data status --granular output is quite long (1668 lines), and contains some info I cannot share, but here is a smaller redacted version:

DVC committed changes:
  (git commit the corresponding dvc files to update the repo)
        modified: data\csv\
        added: data\figures\
        added: data\figures\plot1.png
        added: data\figures\plot2.png
        added: data\csv\Sub Folder\data1.csv
        added: data\csv\Sub Folder\data2.csv
(there are other changes not tracked by dvc, use "git status" to see)

The csv files may contain weird (ASCII) characters like spaces, -, +, (, ), ^.

This may be a bug related to how we are handling Windows path in DVC.

I’ll suggest removing this directory:

C:\ProgramData\iterative\dvc\Cache\repo\b15aaf17d9e5d9c55261b2f1ece50a67

And retry. If it still exists, please open an issue in GitHub, possibly with a small reproducible example/script if you can.

Thanks.