git checkout -b test origin/test
http://stackoverflow.com/questions/1783405/git-checkout-remote-branch