git add specific files only code example Example: git add //to add a single file git add <FILE_NAME> //to add all changed files git add -A