1 stable release
| new 2.0.0 | Feb 28, 2026 |
|---|
#26 in #clone
780KB
20K
SLoC
Git-Same - Mirror GitHub org/repo structure locally
Git-Same is a CLI tool that discovers all GitHub organizations and repositories you have access to, then clones them to your local filesystem maintaining the org/repo directory structure.
Features
- Multi-Provider Support: Works with GitHub (more providers coming soon)
- Parallel Operations: Clones and syncs repositories concurrently
- Smart Filtering: Filter by archived status, forks, organizations
- Incremental Sync: Only fetches/pulls what has changed
- Progress Reporting: Beautiful progress bars and status updates
Available Commands
The tool can be invoked using any of these names (all installed by default):
git-same- Main commandgitsame- No hyphen variantgitsa- Short formgisa- Shortest variantgit same- Git subcommand (requires git-same in PATH)
Example
# Initialize configuration
git-same init
# Set up a workspace
git-same setup
# Sync repositories (clone new + fetch existing)
git-same sync --dry-run
git-same sync
# Show status
git-same status
# Also works as git subcommand
git same sync
Dependencies
~20–41MB
~518K SLoC