Cannot update paths and switch to branch 'dev' at the same time. Did you intend to checkout 'origin/dev' which can not be resolved as commit?的解决方法
clone 远程分支 到本地分支
git fetch origin
git branch -r
git checkout -b dev origin/dev