Git command :
git init
git add .
git commit -m \"project\"
git remote add origin https://github.com/
git push -u origin master
Gray Folder
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 gitlink (special entry in the index) which, once pushed to your GitHub repo, is displayed as a grayed folder.
See also "Difference between nested git repos and submodules".
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.