git changes not staged for commit
to solve this problem:
Go inside the subfolder that you want to push and run this:
git rm --cached <subfolderName>
Then come to main project folder and run this (make sure to add / after folder name)
git add <folderName>/
git commit -m "Commit message"
git push -f origin <branchName>