how to initialize a git ignore file code example Example: create gitignore # creates gitignore file $ touch .gitignore