I have w problem with pushing whole folder with its content to my repository on GitHub.
I use the following:
$ cd principal
$ git add *
$ git push
Where principal is the name of folder containing two other folders (Z1, Z2) and their content.
Then I visit the GitHub and see:

There is definitelly sth wrong with Z1 folder - I expected to see sth openable (like Z3) as this folder is a java project containing src and other folders. What is happeing?