Git command :
git init
git add .
git commit -m "project"
git remote add origin https://github.com/
git push -u origin master
How to resolve this issue?
解决方案
Because your repo includes a nested git repo (a subfolder with a .git/ folder in it).
When you do a git add ., you will record that subfolder as a special entry in the index) which, once pushed to your GitHub repo, is displayed as a grayed folder.
If you want to include that folder content into your sources, simply remove the .git folder of that gray directory, do a git add . again, commit and push.