git config core.commentChar ';'
Customize git comment char
If you want your git commit messages to contain “#” (for example because you want to reference ticket numbers), you have a problem: The character “#” is by default used for starting a comment.
Luckily, you can easily change that with: