I have a master
and a development
branch, both pushed to GitHub. I\'ve clone
d, pull
ed, and fetch
ed, but I re
This isn't too much complicated, very simple and straight forward steps are as follows;
git fetch origin
This will bring all the remote branches to your local.
git branch -a
This will show you all the remote branches.
git checkout --track origin/
Verify whether you are in the desired branch by the following command;
git branch
The output will like this;
*your current branch
some branch2
some branch3
Notice the * sign that denotes the current branch.