PowerShell New-TemporaryFile is powerful and useful. And this post is also powerful and usefule for Git Hooks