Deal the git ignore files and path