add the gitignore file to ignore files and Gemfile and Gem.lock file to specify gems need for the project.