command to commit in git code example
Example 1: git commit from terminal
git add index.html css/styles.css
git commit -m "Change titles and styling on homepage"
Example 2: git commit
git commit -a -m "The Commit message"
Example 3: how to commit changes in git command
git commit -a