an error is thrown in case there is no branch set up, or no upstream branch is set up `fatal: Failed to resolve HEAD` to resolve set up a proper upstream