TL;DR: Use type(scope): subject to write clear commit messages. Choose the right type for each change, keep commits small, and commit when one task is complete. This makes your Git history easier to read and your work easier to manage.
Source: [Dev.to](https://dev.to/moshfiqurrahman/git-commit-messages-like-a-pro-a-complete-guide-to-feat-fix-chore-init-and-more-98k)