chdir() to current dir, + gitignore update.