error: pathspec 'main' did not match any file(s) known to git. code example
Example: pathspec 'corp-branch' did not match any file(s) known to git
git remote update
git fetch
git checkout --track origin/<BRANCH-NAME>
git remote update
git fetch
git checkout --track origin/<BRANCH-NAME>