In order for
gitman to interact with Git, it must be configured to store your credentials for private repository access.
To test, trying cloning one of your private repositories:
$ git clone https://github.com/<owner>/<repo>.git
If you see:
Username for 'https://github.com':
then credential storage is not set up correctly.
To use the Keychain on macOS, run:
$ git config --global credential.helper osxkeychain
To use the Credential Manager on Windows run:
$ git config --global credential.helper wincred
If you're using two-factory authentication on GitHub, you'll need to provide a personal access token instead of your password.
You can also set up SSH keys (for GitHub) and use a different URL:
$ git clone firstname.lastname@example.org:<owner>/<repo>.git
Finally, the repository URL itself can contain an OAuth token (for GitHub):
$ git clone https://<token>@github.com/<owner>/<repo>.git
The token can also be written to
.netrc during builds, see the guide for Travis CI.