Adds sample.gitignore and udpates a project .gitignore to remove project files.