based on curl https://raw.githubusercontent.com/dotnet/core/master/.gitignore > .gitignore
We will download and run the script
On the CMD Window write
set scriptUrl="https://gist.githubusercontent.com/Elrashid/ce59f52d5552f453e4249d26e67a48c0/raw/.gitignore"
PowerShell -Command "(new-object System.Net.WebClient).DownloadFile('%scriptUrl%','.gitignore')"