I accidentally added files to a git project that I didn’t want to.

git rm –cached filename

or

git rm –cached directory -r

cleared me right up.

(please note, that is two dashes in front of cached)