Each time when you open a MS office file (.ppt, .docx, .xlst, etc.), a temp file naming ~$<file-name> will be created, but we do not want to commit these temp files to git repository.
How to ignore these temp files in .gitignore file?
A simple way is to add following pattern in .gitignore file.
~$*
