Ensures nodes directory is saved into git