Create a new file in git bash
This is a very simple to create file in git bash at first write touch then file name with extension
for example
touch filename.extension
If you are using the Git Bash shell, you can use the following trick:
> webpage.html
This is actually the same as:
echo "" > webpage.html
Then, you can use git add webpage.html
to stage the file.