Branch Origin Finder

Git does not store the parent branch of a branch. Run the CLI locally to infer it from merge-base analysis, reflog and upstream tracking, then paste the result below to explore it.

1
# run against the repository you want to analyze
npx branch-origin <branch-name> --json