Take the 2-minute tour ×  ok I try again to describe my problem.
At first let me say I am a beginner in Git. I have read a lot of
stuff but there some points that are not clear for me.  I work
local on a workingcopy. My head on local branchx have the same
id as remote branchx on gitlab. But on the gitlabserver I can
see two branches 1. bare/branchx 2. branchx. And when I compare
this two branches the bare/branchx is behind the branchx.  I
searched for a while to find the command to update bare/branchx
to branchx but didn't find. I have the suspicion that something
is going wrong.  Another questions is, why do I see this two
branches instead of one - the bare/branchx. As I've read, on
remote server have to be only an bare repository. But when I
pull my Data to the remote, there isn't a non bare repo? Where
are my data else, when the Bare repo didn't have a workingtree?
So many questions, so many answers and ways to do things on git.
I am confused  @kan when I type   git branch -a  i get  * x2  so
i have a bar