title: How can I ignore big files and push to git repo
body: <p>Before, I used git locally without using <code>.gitignore</code>
  Afterwards,
  I created an <code>.gitignore</code> file, and write all unnecessary files in it.
  When I push them to git repo, fatal: The remote end hung up unexpectedly error appears.</p>
  
  <p>I dont want to push ignore files, but, somehow git tries to push them to repo.</p>
  
  <p>Please help me, what is my fault? Thanks</p>