You should put this in your global .gitignore file: https://help.github.com/articles/ignoring-files#create-a-global-gitignore

That keeps the ActiveMerchant .gitignore file specific to ActiveMerchant.