How to fix commit-msg hook failure in Git | DevErrors