If the current branch's upstream is a remote branch, but the remote branch has been deleted, git pull --all fails.
Possible solution: Split the git pull --all command into a fetch and (after verifying the remote branch still exists) a command (tbd) that does the fast-forward of pull.
Current workaround: checkout a different branch before running git-sync.