how to use git add command code example Example: git add //to add a single file git add <FILE_NAME> //to add all changed files git add -A