Reputation: 383
I just start using GitHub for a project. I managed to set up GitHub, Atom, and Git-Plus package, so everything works fine. The problem is that I don't know how to update or get branches from GitHub repository.
For example, I created a new branch test-br, in the project it show me only master
$ git branch
* master
Upvotes: 0
Views: 1536
Reputation: 312219
You've created a remote branch. In order to see it you much first fetch it, e.g.:
$ git fetch origin
And then list the local copies of the remote branches:
$ git branch -r
You should see something like origin/test-br
there.
Upvotes: 1