'Gitlab Issue on git push -A

When I git push a Folder with the following Commands git add -A <directory> and git commit and git push it pushes some sub-directories as directories and some as files which say they are empty.

enter image description here

Here in the above image, TestData, proxy and emailSender are all directories, but emailSender in uploaded like this, which on Opening says its am empty file.

Please help me sort this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source