git checkout -p

or

git checkout --patch

Then decide what to do with each hunk in an interactive mode, like in git add -p:

Discard this hunk from worktree [y,n,q,a,d,s,e,?]?
(type ? to see what each letter stands for)