See GitPreparer: https://github.com/Particular/GitVersion/pull/101/files#diff-55f482206c15215d76e4ee3df8f33998R26