Create a new directory and initialize a Git repository. We are going to create a directory named "tutorial".
$ mkdir tutorial
$ cd tutorial
$ git init
Initialized empty Git repository in /Users/eguchi/Desktop/tutorial/.git/
Create a new file named "myfile.txt" in the tutorial directory and commit.
Git commands even a monkey can understand
$ git add myfile.txt
$ git commit -m "first commit"
[master (root-commit) a73ae49] first commit
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 myfile.txt
At this point, the history tree should look like this.

Let's create a new branch with the name "issue1".
Use the branch command with a name to create a new branch with that name.
$ git branch
Create a new branch named issue1.
$ git branch issue1
If you do not specify any parameters, the branch command will list all branches that correspond to this repository. The asterisk indicates the current active branch.
$ git branch
issue1
* master
At this point, the history tree should look like this.
