This is the procedure for testing someone else's branch.
First be sure you have the latest changes:
$ git pull
You can get the other person's branch with the command:
$ git checkout <branch-name>
You can build the source in your workspace, but first you should clean what's there:
$ catkin_make clean
Now you're ready to build
$ catkin_make