Beeline (Russia) interview question

How do you merge 4 last commits in git.