Added global gitignore dot file. Use with following command:
git config --global core.excludesfile ~/.gitignore