git pull a single branch code example
Example 1: how to pull from a particular branch in git
git pull origin <branch>
Example 2: git fetch all after --single-branch
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
git fetch origin