In Visual Studio Code (VSC), I have a folder open. That folder corresponds to a local git repo whose remote repo is on GitHub. The 2 repos are synchronized.

Next, I add a file to the remote repo by manually uploading the file and committing it.

Then, I synchronize the local repo by using the sync button in VSC. After I do that, in the VSC Source Control view, it shows 1 pending change which is the file I just added to the remote repo and the file is listed as an "uncommitted" change in VSC.

This is different from how I've used Git before on the command line or on tools other than VSC, like Eclipse, for example. I'm used to how doing this type of workflow would result in a Git fast-forward where the file that was just added to the remote repo would NOT show up as an uncommitted change; rather, the file would just be available in the local repo as a result of the git-pull.

As it stands now, I have to pointlessly recommit the "uncommitted" change in my local repo each time this workflow happens just to bring the 2 repos in sync again.

I assume I'm doing something wrong in VSC or have something misconfigured in VSC.

Any thoughts/suggestions?