The COMMIT_EDITMSG file is the only place where you can seamlessly write a multi-line, detailed commit message without using shell escape sequences or awkward string quoting.
Because COMMIT_EDITMSG is just a text file, you can technically edit it directly without using git commit . For example: COMMIT-EDITMSG