How To Override Local Repository With Git Repository

This is a little post on how you can override your local repository with files from git repository. Why would you want to do that? So, recently I was working on a WordPress plugin. I was using git for version control. I committed my changes to git. After that I made some changes in the