Adds '~' pattern into .gitignore. This symbol is the end of most tmp files