I wish to use a simple command line client (such as the official git client) to clone branches from github as part of a deploy tool.
For security, I do not wish to use basic (username/password) authentication. As I am already using github’s oauth-token based Auth headers in my app, I was wondering if there is a command-line app that can use oauth tokens to authenticate to github.
Thanks!
Update Sep 2012
Github now accepts the use of auth tokens using any git client.
You can get a oauth token for github using these instructions, here’s a practical demo using Node.js and superagent.