Definiens interview question

What's the difference between git pull and git rebase?