No one said anything about the implementation of the function. Not understanding what rebase is and does would imply not understanding how git actually works.
For example you mentioned that you know what git pull does. Are you aware that depending on the settings it is either doing a merge or a rebase? I also suspect that is the answer the OP was angling at.