Stop interpolation when copying .gitconfig

Use a heredoc to avoid interpolation when copying literal content. 
Added a warning and guard for .gitconfig if it doesn't exist.