I am trying to learn Git. I have a Macbook and my instructor is on Windows. I installed Git using Homebrew. When I went to do a test run and create a simple folder on the desktop, with a file in it, to practice initializing Git on it...it worked...except, my MAC ALSO pulled two files which are typically hidden, a .localized file and a .DS_Store file and included them in my VS Code to be tracked. Now I can't figure out how to "untrack" them, and I tried git rm --cached .localized (which as best as I could tell was the name of the file) But this did not work. How do I make sure I am only initializing the files I want?
Thank you sooo much, I do not usually work on the back end and want to learn for GitHub.