I have setted a commit.template and it is working correctly, although it shows a weird character ^M in all the lines even the ones with #. I would like to remove it, because it is really annoying.
I have been surfing on internet tryng to find information about it, but, I couldn´t find anything clear.
All the information I have found here, it is about, how to set a commit.template or a hook, but nothing linked with my question. I gonna keep searching.