Recreate the history of a git repo correcting EOL format problems