It looks like I made some mess with the underlying Git repository and it was broken, rendering it invalid.
Error:
error: pathspec 'development' did not match any file (s) known to git.
I used these commands but had no effect.
rm .git/refs/remotes/origin/development
git fetch
git branch --set-upstream-to=origin/development