There is a project with a tree-like folder structure, served by git. I am in the console at the top level of the project and I have several files that have been modified in subfolders. I see these modified files with the git status command, for example:
There may be many similar files and I want to add them using wildcards. For example, add all csv files with the git add *.csv command, and all txt files with the git add *.txt command. I run these two commands, but as a result I see that only *.csv files were added to the index:
Why not add files with the extension txt ?


