title: Git: how to ignore hidden files / dot files / files with empty file names via .gitignore?
body: <p>These files should all be ignored:</p>
  
  <pre><code>.weirdBackupFileType
  .travis.yml
  </code></pre>
  
  <p>The following files should not be ignored:</p>
  
  <pre><code>_.weirdBackupFileType
  Z.travis.yml
  </code></pre>