Q:

How to Git pull to a new branch without affecting the current branch?

Hello situation is the following:
I have two remote branches: master and dev
dev has more commits than masters (git log).
On my local repository, I have cloned only master. So I'm positioned on master branch.
From this situation I'd like to pull dev branch without affecting the master.
What I did is:
 $(master) : git pull origin dev:dev

But the result was:
I have now my dev branch updated, but also the master branch has been merged to dev branch (unexpected)
So my question is how should I pull from remote a specific branch to a local specific branch (even if I'm not positioned on the target branch)?
I thought the 
$git pull origin specific_remotebranch:specific_localbranch

wasn't going to affect my current branch... is it (always), ?

A:

I found out what I was looking for:
I was trying to "pull" instead what I really wanted is a fetch + "check out" action
See here:
How do I check out a remote Git branch?
//let's make available all remote branches
$git fetch

//let's create a new branch from the remote just fetched
$git checkout dev

It seems there's no a unique pull action to perform this.

