Add .gitignore rule for backup files like *~

Signed-off-by: vulpicastor <lizhousha96@gmail.com>