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
Remove dir/.../.git
dir/.../.git
works for me.