title: Git ignore for nested extensions
body: <p>My project contains files that have the extension .acd; The project also automatically generates backups that are labeled project.BAK000.acd</p>
  
  <p>I would like to use git-ignore to filter out all files with <em>.BAK</em>.acd, but I'm having some trouble, could anyone provide an example?</p>