git add . and git commit code example
Example 1: git add
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
Example 2: how to commit changes in git command
git commit -a
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
git commit -a