You can configure git to use any editor. For example, if you like to use VSC editor for long commit messages, you can run the below command in the terminal:
git config --global core.editor "code --wait"
and then just commit it without "-m"
it will open a commit edit tab on VS code where you type in your long commit message. When you close that tab your commit message will be added
note: you might need to run Control + shift + P to open your command palette and install code
Git instruction for other editors:
https://git-scm.com/book/en/v2/Appendix-C%3A-Git-Commands-Setup-and-Config