how to add changed files in git cmd code example Example: git add . git add <file> or you can do git add -A to add all files