touch test.txt // this creates a file called test.txt
ECHO text>file1.txt
type nul > .gitignore ---This creates empty file and works on windows 10.