If you’re trying to override your local files with the GitHub repository files then please follow the simple instruction below.
Please run the following command;
git fetch --all
To default to the most recent branch, please run the following command;
git reset --hard origin/master
If you are on a different branch, please run the following command;
git reset --hard origin/