
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
CLI tool that lets you download specific folders from GitHub repositories without cloning the entire repo.
Get detailed insights for GitHub repositories without cloning the entire codebase
Installation • Usage • Features • Examples • Configuration • Troubleshooting • Contributing • License
Have you ever needed detailed insights for a GitHub repository? Or wanted to audit dependencies, explore commit history, or analyze project metadata without downloading the entire codebase? git-bro solves these problems by providing specific commands to generate insights, audit dependencies, explore commits, and generate project folder structures, saving you bandwidth, time, and disk space.
npm install -g git-bro
This installs git-bro as a global command-line tool accessible from anywhere in your terminal.
npx git-bro <github-repo-url>
Run git-bro directly without installation using npx.
| Option | Description |
|---|---|
-V, --version | Show version number |
-h, --help | Show help |
| Command | Description |
|---|---|
insights <repo> [options] | Generate detailed insights for a GitHub repository |
audit <repo> [options] | Audit dependencies in a GitHub repository |
commits <repo> [options] | Explore commit history of a GitHub repository |
generate | Generate a project folder structure |
| Option | Description |
|---|---|
-a, --author <author> | Filter commits by author |
-f, --file <file> | Filter commits by file path |
-c, --conflicts | Show only commits with merge conflicts |
-l, --limit <number> | Limit number of commits (default: "50") |
-h, --help | Display help for command |
| Option | Description |
|---|---|
--type <type> | Type of dependency file (package.json, requirements.txt) |
--output <path> | Output directory for audit reports |
git-bro insights username/repository
git-bro audit username/repository
git-bro commits username/repository
git-bro generate
git-bro works out of the box without configuration. For rate-limited GitHub API usage, authentication support is under development.
Error: Request failed with status code 403
Solution: GitHub limits unauthenticated API requests. Wait a few minutes and try again.
Error: Invalid GitHub URL format
Solution: Ensure your URL follows the pattern: https://github.com/owner/repo
Error: Repository not found
Solution: Verify the repository name and ensure it is accessible.
Contributions make the open-source community an amazing place to learn, inspire, and create. Any contributions to git-bro are greatly appreciated.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)See the open issues for a list of proposed features and known issues.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Adwait-Borate and ShreyashIngle
If you find this tool useful, consider sponsoring its development
FAQs
CLI tool that lets you download specific folders from GitHub repositories without cloning the entire repo.
We found that git-bro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.