Remove \r\n line feeds in entrypoint.sh replace with \n

Change git configuration as well so that these are not over written.