git hhtp checkout command code example
Example 1: git checkout branch
truelover@PEACE project % git checkout master
truelover@PEACE project % git checkout branch_name
#create branch
truelover@PEACE project % git checkout -b new_branch_name
Example 2: find .git repository file ubuntu copy
git clone https://github.com/<user name>/<repository name> <different name>
Example 3: download github repository
git clone https://github.com/username/project-name.git
Example 4: take clone from gitbash
$ git clone https://github.com/libgit2/libgit2 mylibgit