how to commit work in git code example Example: git commit //now commit the code git commit -m "anyMessageYouWantToWrite"