Fix cp command for git