If we want to stage (add) all changes in tow files code example Example 1: git add all files git commit -a -m "msg" Example 2: git how to track files git add "you file name"