Change namespace to github/hub
Fix git related tests

Make tests less fragile by introducing a test git repo
Don't use --binary for travis
Use absolute path for fixture
Extract to fixtures.SetupTestRepo()
Clone test repo instead of querying on top of it
Remove test.git
Add test.git
Change test to use the new fixture
More comments on caching pwd
Explain more on pwd
Merge pull request #482 from github/fix_go_tests

Fix go tests
Disable CI email completely since configuration is not flexible

We can't let email configuration be the default since it would spam most
people in the GitHub org. However, we set it to a couple of addresses
explicitly, we get emailed with failures from other people's forks who
have set up CI for themselves.
Skip caching dependencies if Amazon secret is unavailable

Fixes CI in forked environment and enables usage of `cached-bundle`
script to just restore caches from S3 but never attempt to write them.
Merge branch 'forked-ci'
Set $HOME when testing git so that it's not messing with local settings
Improve git test by using the test repo
Merge pull request #486 from github/set_home_for_test_repo

Set $HOME in tests which point to a different .gitconfig
Validate that HTTPS is used by default for API requests

Since we use a test server representing the GitHub API, all requests get
transformed to HTTP in tests. Make a check that the original requests
really was intended to go over HTTPS.
Support Enterprise over HTTP via `protocol` config option

Example `~/.config/hub`:

  my.example.org:
  - user: myuser
    oauth_token: mytoken
    protocol: http

Currently there is no way to set `protocol` other than manually editing the
configuration file.