I recently cloned a repo from remote onto a new machine. The remote has 2 branches master & dev. After cloning, local has only remote's master branch, no dev found.
On remote, dev has merged with master and master is like 2 commits ahead of dev.
Locally if I create a new branch of the same name dev, dev now points to tip (same commit) of master in contrast to remote where dev is like 2 commits behind master.
How to get all remote branches locally, correctly pointing to their respective commits as on remote.
Moreover, out of curiosity, just checking out the .git directory and found this line in config under .git directory. 
Can someone explain what does the following line mean fetch = +refs/heads/*:refs/remotes/origin/* in .git/config? In particular the role of colon : separator.
thanks dk
 
    