2

There are 2 best solutions below

0
Cedric On BEST ANSWER
git add .

then just push without a .gitignore and entries in your .git/info/exclude file.

1
swordsmanye On

you can use the following command to have a try:

git add folders_name/*.*
git add folders_name/*