Refs #4278: Copied version 1.5 of copyGitFile to 1.6
Fixes #4278: Made the error messages from download a file from shared folder more explicit