still getting used to git, using source tree as the Git client.
I have a Git repo that has the master branch checked out.
I had two clones of this repo.
Today origin/Head magically appeared in one of them.
So I cloned the repo again to see if origin/HEAD would appear again, it did.
In the new repo origin/HEAD points to origin/master, as I would expect.
In the original repo origin/HEAD points to a different branch. ie origin/my_branch.
What could have happened to make origin/HEAD appear? From what I have read origin/HEAD should point to the checked out branch in the origin, why would it be pointing to a different branch?
How can I make origin/HEAD point to where I think it should be pointing? Can I remove origin/HEAD without making changes to the origin? should I not care and ignore this inconsisitence?
have I got this all totally wrong?
Thanks!