[JENKINS-21016] fix git credentials so that password is included in file and correct syntax of store command
[JENKINS-21016] do not actually need to replace path with forward slashes, so revert.  More importantly need the credentials on a single line so that the git command can read successfully