This issues is raised upstream as https://github.com/jorisroovers/gitlint/issues/78 and looks like it might be fixed in more recent versions. It would good to update gitlint to 0.10.0 from the current 0.9.0 and see if this fixes the issue, and then migrate from Debian Unstable to Testing.