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