Add .gitignore

Add the rule to ignore all files ending with ~, e.g. temporary emacs files