git-sync

Clones a git repository and keeps it synchronized with upstream

brewmacoslinux
Try with needOr install directly
Source

About

Clones a git repository and keeps it synchronized with the upstream

Commands

git-sync

Examples

Clone and sync a repository to a local directory$ git-sync https://github.com/user/repo.git /path/to/local/repo
Sync an existing repository with upstream changes$ git-sync https://github.com/user/repo.git /path/to/local/repo --pull
Sync repository with custom branch$ git-sync https://github.com/user/repo.git /path/to/local/repo --branch main