Why does git only commit some of the changes if you don't pass the -a flag?