git commit -n code example
Example 1: how to commit changes in git command
git commit -a
Example 2: github commit
// ready the changes for commit
git add .
// commit your changes with a message
git commit -m "Your message to refernce your commit"