To set up your local GIT repository to pull from a new remote branch which another developer has created, you first have to update the list of branches by issuing the command
$ git pull
Then once you have the latest branch information, you can view all the remote branches.
$ git branch -r origin/recording origin/HEAD -> origin/master origin/android-market origin/master
Tell GIT to add a remote branch and to link the local branch with the remote branch.
$ git branch --track recording-feature origin/recording
Now you can checkout the branch, and it will always get the latest changes when you pull
from the server.
$ git checkout recording-feature Switched to branch 'recording-feature'