I am working on a project and I created a repository with a master
branch. Someone who is working on it added a branch named new-branch
-- their code changes are in this branch.
However, when I clone the repository:
$ git clone git@github.com:me/my-repo.git
I can clone it successfully, but it only shows the master
branch. I do not know how I can view/get the new-branch
.
How would I pull this branch to my repository?