How to reduce git repository size : <p>Earlier I pushed some big files to git branch which increased the repository size. Later I removed those redundant files from that branch using,</p>

<pre class="lang-sh prettyprint-override"><code>git rm big_file
git commit -m 'rm bg file'
git push origin branch-name
</code></pre>

<p>But the file size of git repository remained unchanged. </p>

<p>Then I tried using <a href="https://stackoverflow.com/a/26000395/11652623">this</a> method to clear commit history but it didn't worked, the repo size is still the same.</p>
