git add only modified files code example
Example 1: rsync only new files
rsync -r source_folder/ target_folder/ --ignore-existing
Example 2: git only add modified files
git add --all
rsync -r source_folder/ target_folder/ --ignore-existing
git add --all