Use if sm in commit in git

Why to use git commit -sm “Commit”

Using sm you can actually write a message/comment along with your commit. The message written in " "(quotes) is the message/comment you have added along with the commit . This is done so that you can keep track of what changes were made a specific commit .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.