I think that one way to "easily" understand the syntax of git is to remember that when you perform a command you "always" modify the current branch
for example: git merge my-branch will merge my-branch into the current one
while git rebase my-branch will rebase current one on top of my-branch