I carried that over from how Berkshelf initially sets things up. If you initialize a brand new cookbook with 'berks init foo-cookbook', it includes the Gemfile.lock in .gitignore. I can remove if you like, though.