This Rails commit from May 2010 mentions gitkeeps and it's a few months older than your SO post, so it seems you're absolved from guilt:
https://github.com/rails/rails/commit/785493ffed41abcca0686b...