copyGitFile technique must have an option to allow purge of local directory conten

http://www.rudder-project.org/redmine/issues/5755