Git Pulling Pull, overwrite local


git fetch
git reset --hard origin/master

Beware: While commits discarded using reset --hard can be recovered using reflog and reset, uncommitted changes are deleted forever.

Change origin and master to the remote and branch you want to forcibly pull to, respectively, if they are named differently.