To yank is to pull violently / roughly. To pull is a neutral word, simply meaning an action, e.g. I pulled the door handle. The normal meaning of the verb twitch is a sudden, sometimes involuntary movement involving a part of your body, e.g. my leg twitched. It doesn't normally involve another object.