Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Which git command did you execute after installing git and before doing git checkout? Did you execute git init or git clone? Commented May 14, 2013 at 6:54
  • 4
    Just so you know, your first attempt is correct (git checkout master) - but there's something wrong with your repository. Commented May 14, 2013 at 6:58
  • Are you saying the git branch produced NO output at all? That indicates something is very wrong with the repository. Can you also add output of git status, please? Commented May 14, 2013 at 7:04
  • There must be a canonical question for this. Where is it? Commented Dec 10, 2023 at 16:26
  • Related: Git for beginners: The definitive practical guide Commented Dec 10, 2023 at 16:26