By default it is not possible to see .gitignore files in osx. What is command to reveal these files?
Show hide file and folder on MacOs Mojave 10.14.4
Apply at Terminal
defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder;