how to add only modified files in git code example Example: git only add modified files git add --all