git add . changes not staged for commit code example Example: git only add modified files git add --all