I thought if you want to track the files you should git add [files you want to track]
git add [files you want to track]
I don\'t know why I got the messages Changes not staged for com
Changes not staged for com
What worked for me was to go to the root folder, where .git/ is. I was inside one the child folders and got there error.