I cloned a repository, that has only one remote branch, namely master. After the cloning I get the message, that I'm in a detached HEAD state and git branch also says (no branch).
Git log shows only the initial commit of the repository. After I enter git checkout master, everything is as it should be.
Does anybody know what the problem is?