Gift is a node.js library that implements grit like functionality. To view remote branches, ordinarly I would do git branch -r, but I don't see any such functionality in the gift package.
Is it possible, using gift, to view all of the remote branches of a git repository and pull them down?
Not currently (November 2013): it is still an active project, and it doesn't include any:
git branch -r, orgit ls-remoteThat leaves you with the option to implement it (a bit like
git remotewas implemented), and propose a pull request.