Skip to content
Discussion options

You must be logged in to vote

Hi @seunggihong 👋

Great question — this is a common challenge with GitHub Free plan since branch-level permissions are only available in paid plans.

Here are a few practical options:

1. Create a separate repository

  • Export or clone the specific branch (or commit snapshot).
  • Push it to a new private repo.
  • Invite external collaborators only to that repo.
    ✅ Easiest and safest way to limit access.

2. Use a mirror/fork approach

  • Mirror just the branch you want reviewed into another repo (can be automated with CI/CD).
  • External developers only see that repo, not the full codebase.

3. Patch-based workflow (advanced)

  • Instead of giving repo access, you can share a patch file (git format-patch) or…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@onggizam
Comment options

Comment options

You must be logged in to vote
1 reply
@onggizam
Comment options

Comment options

You must be logged in to vote
1 reply
@onggizam
Comment options

Answer selected by onggizam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development
4 participants