fixed a problem when copying gitconfig file