It's about why I do not get the error "fatal: The current branch A has no upstream branch."
I deleted the REMOTE branch A with the command git push origin :A .
Then I switched to LOCAL branch A with the command git checkout A .
After adding, commiting and pushing, I don't get the error "fatal: The current branch A has no upstream branch."
Why does this error not appear even though the remote branch A does not exist because I deleted it before?