Fixed an issue that caused unexpected modifications to nodes during git checkout and deploy