The GIT commit command has the message as mandatory input. code example Example: how to commit changes in git command git commit -a