{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpikaho.hatenablog.com%2Fentry%2F2013%2F12%2F29%2F155139\" title=\"How to clone branches with Git. - Pikaho Blog \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://pikaho.hatenablog.com/","version":"1.0","height":"190","blog_title":"Pikaho Blog ","author_url":"https://blog.hatena.ne.jp/gamamaru/","width":"100%","url":"https://pikaho.hatenablog.com/entry/2013/12/29/155139","type":"rich","title":"How to clone branches with Git.","image_url":null,"published":"2013-12-29 15:51:39","provider_url":"https://hatena.blog","description":"First, clone your remote repository. git clone git@bitbucket.org:username/yourproject.git cd yourprojectNext, show the branches in the remote. git branch -aIf you want to work on the branch directly, you have to create a local tracking branch. git checkout -b yourproject origin/yourproject","author_name":"gamamaru","provider_name":"Hatena Blog","categories":[]}