title: git push folder containing large file
body: <p>In my git repository I have a folder (DATA) containing other folders containing large files.
  I created a .gitignore file with the following text</p>
  
  <pre><code>DATA/
  </code></pre>
  
  <p>I tried to update the files in my repository and I got this error anyway</p>
  
  <pre><code>remote: warning: File DATA/segmentation/Feat_2.mat is 94.46 MB; this is larger than GitHub's recommended maximum file size of 50 MB
  remote: warning: File DATA/segmentation/Feat_3.mat is 61.77 MB; this is larger than GitHub's recommended maximum file size of 50 MB
  remote: warning: File DATA/segmentation/Feat_4.mat is 80.35 MB; this is larger than GitHub's recommended maximum file size of 50 MB
  remote: warning: File DATA/segmentation/Feat_5.mat is 85.85 MB; this is larger than GitHub's recommended maximum file size of 50 MB
  remote: warning: File DATA/segmentation/Feat_6.mat is 78.94 MB; this is larger than GitHub's recommended maximum file size of 50 MB
  remote: warning: File DATA/segmentation/Feat_7.mat is 66.61 MB; this is larger than GitHub's recommended maximum file size of 50 MB
  remote: error: GH001: Large files detected.
  remote: error: Trace: 66ef415089784516b0d76ac2e639a7ac
  remote: error: See http://git.io/iEPt8g for more information.
  remote: error: File DATA/segmentation/Feat_1.mat is 123.29 MB; this exceeds GitHub's file size limit of 100 MB
  To https://github.com/gabboshow/smartscope_code.git
   ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: failed to push some refs to 'https://github.com/gabboshow/smartscope_code.git'
  gabbo@gabbo-SATELLITE-L750:/media/Data/Condiviso/TUe/Smartscope_study/smartscope_code$ 
  </code></pre>
  
  <p>How can I fix the git push and continue committing my files ignoring all the files in the folder DATA?</p>