When pushing a local branch that doesn't exist in the remote repo, the resulting remote branch is invalid. The branch name is set as refs/heads/testbranch instead of testbranch. Attempting to view this branch returns an error "Object not found 'refs/heads/testbranch' ". The branch is inaccessible in QGIS.
Looking on the command line the branch name has been set to refs/heads/testbranch, which returns "source not found" if you attempt to check out with that name. However, the branch is valid and can be accessed using the name "testbranch", as originally set.
When pushing a local branch that doesn't exist in the remote repo, the resulting remote branch is invalid. The branch name is set as refs/heads/testbranch instead of testbranch. Attempting to view this branch returns an error "Object not found 'refs/heads/testbranch' ". The branch is inaccessible in QGIS.
Looking on the command line the branch name has been set to refs/heads/testbranch, which returns "source not found" if you attempt to check out with that name. However, the branch is valid and can be accessed using the name "testbranch", as originally set.