how to commit git code example
Example 1: git commit
git commit -a -m "The Commit message"
Example 2: how to commit a branch in git
git commit -m "added my github name"
Example 3: git commit
//now commit the code
git commit -m "anyMessageYouWantToWrite"
Example 4: how to commit changes in git command
git commit -a
Example 5: how to revert commit in git
git checkout <commit hash>