If you need to discard all your local changes and get a copy from the remote master branch, then do the followings:
git fetch --all git reset --hard <remote>/<branch_name>
Note: All your local changes will be lost. However, any files that are not tracked by git(e.g. new files) are not affected.