git command for file modified code example Example 1: git only add modified files git add --all Example 2: git list modified files #Before commiting git status