It ignores all files whose name ends with ~ , which is the usual suffix for text editor backup files.
* is a special character and means "any sequence of zero or more characters", and ~ is an ordinary character. The union of two parts: "zero or more characters, followed by the character" ~ ".
source share