git create new file in command line code example Example: create a new file in git bash touch file.extension