To see all of the possible options you have with git commit, check out Git's documentation. Sometimes, you may need to change history. You may need to undo a commit. If you find yourself in this ...
keeping track of the project history, integrating the changes you want to see in your file tree or file contents. So, if all that's of any help to you, yeah, use it. It's safe, because it's Git ...