create a new file in git bash

C++
touch file.extension
Source

Also in C++: