Jens A. Koch

bash script for cloning all repositories of an github organization (

You need to adjust the GITHUB_ORGANIZATION to your needs.


You need to load your SSH KEY,
else you will run into the following error:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly.

Take care!




2 Responses

  1. Christian Weiske Says:

    This doesn’t work if the organization has so many repositories that they are split onto several pages.

    Github adds a Link header then, e.g. in

  2. jakoch Says:

    When i find the time, i will take a look at this issue.