title: Adding Folder/Subfolders/files in Git
body: <p>How can I add a folder recursively, with its subfolders and its files?</p>
  
  <p>When I use <code>git add folder_name</code>, only that folder is getting added.  <code>git status</code> now shows the files under the subfolders are shown as new files and untracked.</p>
  
  <p>For example, in Rails application, inside the Rails project folder, there are many folders:</p>
  
  <ul>
  <li>app</li>
  <li>public</li>
  <li>db</li>
  <li>script</li>
  <li>vendor</li>
  <li>etc.</li>
  </ul>
  
  <p>Is there a better way to add a rails project to git?</p>