Add .gitignore file ignoring the target directory