Added the extension *.~ to .gitignore.