Its a java project, i need to upload all the contents in a folder not just the source files
git add .
then just push without a .gitignore and entries in your .git/info/exclude file.
.git/info/exclude