Add user/password bits so we can get private repositories

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Also backup gists

Signed-off-by: Christopher Larson <kergoth@gmail.com>
The "git config" can fail without exception when checking the github
username or password.  When this happens we want to fallback to
checking the environment variables.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Allow a "-m" option which will make clones as mirrors

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Merge pull request #1 from drewmoseley/auth

Auth
Update help text to include oauth-based token authentication.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Merge pull request #2 from MentorEmbedded/auth

Update help text to include oauth-based token authentication.
Add the ability to break up the repos by type (private, starred, etc)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Merge branch 'auth' of git://github.com/kergoth/GitHub-Backup into auth

* 'auth' of git://github.com/kergoth/GitHub-Backup:
  Update help text to include oauth-based token authentication.
  Allow a "-m" option which will make clones as mirrors
  The "git config" can fail without exception when checking the github username or password.  When this happens we want to fallback to checking the environment variables.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Suffix the local dirs with .git when using --mirror

Signed-off-by: Christopher Larson <kergoth@gmail.com>