The Growing Pains: When Your Side Project Becomes a Team Project
Picture this: You've been working on a personal project for months. It started as a weekend experiment, tracking tasks in your personal GitHub Projects board. Now, your startup is taking off. You've hired 3 developers, a product manager, and an intern. Everyone is asking for access to the project board, but GitHub doesn't let you simply "move" a personal project to an organization.
You're facing the classic dilemma:
- The project board with 50+ issues and 3 months of planning lives in your personal account
- The repository needs to be transferred to the company organization for proper ownership
- You need granular access control—the intern shouldn't see the "Confidential Features" column
- Manually recreating everything would take hours and lose all the history
This guide shows you exactly how to migrate your GitHub Projects and repositories from personal accounts to organizations, preserving data integrity and team workflows.
Why Migrate to a GitHub Organization?
Before diving into the how-to, let's understand when you should make this move.
The Breaking Point: Personal Account vs Organization
| Scenario | Personal Account | Organization Account |
|---|---|---|
| Ownership | You own everything | Shared ownership prevents single points of failure |
| Access Control | All-or-nothing per repository | Team-based permissions across multiple repositories |
| Onboarding | Manually add each person to each repo | Create teams once, grant access to multiple repos |
| Billing | Simple personal plans (Free/Pro) | Enterprise plans with audit logs and SSO |
| CI/CD Minutes | 2,000 minutes/month (private repos) | Same 2,000 minutes/month on free tier1 |
📓 Note: Free-tier organizations get the same resource quotas as personal accounts (2,000 CI/CD minutes, 500MB package storage). The real advantage is team collaboration features, not increased limits1.
When to Migrate
Migrate when:
- 2+ people regularly collaborate on the same codebase
- You need different permission levels (read-only, write, admin)
- The project is company/team intellectual property, not personal
- You want centralized audit logs for compliance
Stay personal when:
- It's a portfolio project showcasing your individual work
- You're the sole contributor
- You contribute to others' open-source projects (use your personal identity)
Understanding GitHub Project Types
GitHub offers two project systems, and the migration approach differs:
- Projects (modern): The newer, table/board view with custom fields introduced in 2022
- Projects (classic): The older kanban-style boards (deprecated but still available)
This guide focuses on modern GitHub Projects, which are what most teams use today. Both types face the same fundamental limitation: you cannot directly transfer ownership from a personal account to an organization through the UI2.
Migration Strategy Overview
There are two main approaches:
| Approach | Best For | Pros | Cons |
|---|---|---|---|
| GitHub CLI Migration | Complex projects with 20+ issues, linked PRs, custom fields | Preserves all data, links, and metadata | Requires command-line familiarity |
| Manual Export/Import | Simple projects with <20 items, minimal custom fields | Easy, no technical setup | Loses some link integrity |
We'll cover both methods step-by-step.
Prerequisites
Before starting, ensure you have:
-
Admin access to the personal repository (if repository-linked projects)
-
Owner permissions in the target organization
-
GitHub CLI installed (for CLI method):
# macOS brew install gh # Windows winget install --id GitHub.cli # Linux sudo apt install gh # Debian/Ubuntu -
Personal Access Token (PAT) with the following scopes:
repo(full repository access)read:org(read organization data)project(full access to projects)
Generate a classic PAT at: https://github.com/settings/tokens
⚠️ Warning: Store your PAT securely. Treat it like a password—never commit it to a repository.
Method 1: GitHub CLI Migration (Recommended)
This method maintains data integrity and is officially supported by GitHub2.
Step 1: Install the Migration Extension
# Install the gh-migrate-project extension
gh extension install github/gh-migrate-project
Step 2: Export the Project from Your Personal Account
First, identify your project number. You can find it in the project URL:
- URL:
https://github.com/users/yourusername/projects/5 - Project number:
5
Then export the project:
gh migrate-project export \
--access-token YOUR_PAT_TOKEN \
--project-owner YOUR_USERNAME \
--project-owner-type user \
--project-number 5 \
> my-project-export.json
Parameters explained:
--access-token: The PAT you generated in prerequisites--project-owner: Your GitHub username--project-owner-type:user(for personal accounts) ororg(if exporting from an org)--project-number: The number from your project URL> my-project-export.json: Saves the export to a file
Example output:
{
"projectId": "PVT_kwDOABCDEF",
"title": "Q1 2025 Roadmap",
"views": [...],
"items": [...]
}
Step 3: Transfer the Repository (If Applicable)
If your project is linked to a specific repository, transfer the repository to the organization before importing the project. This ensures issue and PR links remain valid.
Via GitHub UI:
- Navigate to the repository
- Go to Settings → General
- Scroll to Danger Zone → Transfer ownership
- Enter the target organization name
- Confirm the transfer
Via GitHub CLI:
gh repo transfer YOUR_REPO YOUR_ORG
📓 Note: Repository projects don't auto-transfer with the repo. The project stays with your personal account, and links to issues will break. Always transfer the repo first, then migrate the project2.
Step 4: Import the Project into the Organization
gh migrate-project import \
--access-token YOUR_PAT_TOKEN \
--project-owner YOUR_ORG_NAME \
--project-owner-type org \
--project-json-file my-project-export.json
New parameters:
--project-owner: Your organization name--project-owner-type:org--project-json-file: The export file from Step 2
Expected output:
✓ Project imported successfully!
URL: https://github.com/orgs/yourorg/projects/3
Step 5: Verify the Migration
- Navigate to the new project in your organization
- Check that all items (issues, draft issues, pull requests) are present
- Verify custom fields and their values
- Test issue/PR links to ensure they point to the correct repository
- Review project views (table, board, timeline) to confirm layout
Method 2: Manual Export and Import (Simple Projects)
For small projects or when the CLI approach feels too technical, use the manual method.
Step 1: Export as TSV
- Open your personal project on GitHub
- Select the Table view (if not already selected)
- Click the ⋯ menu in the top-right corner of the view
- Select Export view data
- A
.tsvfile downloads automatically
Step 2: Convert to CSV (Optional)
Open the .tsv file in Excel, Google Sheets, or Numbers, then save as .csv for easier editing.
Step 3: Create a New Project in the Organization
- Navigate to your organization:
https://github.com/orgs/YOUR_ORG - Go to the Projects tab
- Click New project
- Choose a template or start from scratch
- Name it to match your original project
Step 4: Recreate Custom Fields
If your original project had custom fields (e.g., Priority, Status, Sprint), recreate them manually in the new project:
- Open the new project
- Click the ⋮ menu on any column header
- Select New field
- Configure the field type (Single select, Number, Date, etc.) to match the original
Step 5: Import the CSV
- In the new project, click ⋮ → Settings
- Under Import, select Upload CSV
- Choose your exported
.csvor.tsvfile - Map columns to project fields
- Click Import
Step 6: Manually Re-link Issues and PRs
The CSV import does not preserve GitHub issue/PR links. You'll need to manually link items:
- Open each item in the project
- In the item editor, find the Add item from repository option
- Search for and link the corresponding issue or PR
💡 Tip: If you transferred the repository to the organization first, the issue numbers remain the same, making re-linking faster.
Advanced: Migrating Multiple Projects
If you have 5+ projects to migrate, automate the process with a bash script:
#!/bin/bash
# Configuration
PAT="your_personal_access_token"
SOURCE_OWNER="your_username"
TARGET_ORG="your_org"
PROJECT_NUMBERS=(3 5 7 9) # Array of project numbers to migrate
for PROJECT_NUM in "${PROJECT_NUMBERS[@]}"; do
echo "Migrating project $PROJECT_NUM..."
# Export
gh migrate-project export \
--access-token "$PAT" \
--project-owner "$SOURCE_OWNER" \
--project-owner-type user \
--project-number "$PROJECT_NUM" \
> "project_${PROJECT_NUM}.json"
# Import
gh migrate-project import \
--access-token "$PAT" \
--project-owner "$TARGET_ORG" \
--project-owner-type org \
--project-json-file "project_${PROJECT_NUM}.json"
echo "✓ Project $PROJECT_NUM migrated"
done
Save as migrate-projects.sh, make executable with chmod +x migrate-projects.sh, and run with ./migrate-projects.sh.
Managing Access Control After Migration
Once the project is in the organization, configure team-based permissions to control visibility.
Setting Repository Access Levels
Organization owners can grant teams different permission levels:
| Permission Level | What They Can Do |
|---|---|
| Read | View code, issues, and projects |
| Triage | Manage issues and pull requests without write access |
| Write | Push commits, manage issues, create projects |
| Maintain | Manage repository settings without admin access |
| Admin | Full control including deletion and security settings |
Restricting Project Visibility
To ensure specific teams can only see certain projects:
-
Set organization base permissions to "None":
- Go to Organization Settings → Member privileges
- Set Base permissions to No permission
- This ensures members can only access repositories/projects explicitly granted to them
-
Create teams:
- Organization Settings → Teams → New team
- Example teams:
Frontend Developers,Backend Developers,Product Managers
-
Grant team access to specific projects:
- Open the project
- Go to ⋮ → Settings → Manage access
- Click Invite teams
- Select the team and permission level (Read, Write, Admin)
📓 Note: Unlike repositories, projects can be set to public, private (only invited users), or private to organization members. Choose private and manually invite teams for maximum control3.
Troubleshooting Common Issues
Issue: Links to Issues Break After Repository Transfer
Cause: The project was imported before the repository was transferred.
Solution:
- The issue links in the project will show as broken
- Manually re-link the issues in the new organization's repository
- GitHub uses issue numbers, which remain the same after transfer (e.g.,
#42stays#42)
Issue: Custom Fields Missing Values
Cause: The export/import process didn't preserve custom field types correctly.
Solution:
- Export the project again using the GitHub CLI method (it handles custom fields better than TSV export)
- If using manual TSV export, ensure column headers in the CSV exactly match the custom field names in the new project
Issue: "Permission Denied" During CLI Export
Cause: Your PAT lacks the required scopes.
Solution:
- Go to https://github.com/settings/tokens
- Edit your token and ensure these scopes are checked:
reporead:orgproject
- Regenerate the token and use the new value
Issue: Project Views Not Preserved
Cause: Manual CSV import only imports items, not view configurations (groupings, sorting).
Solution:
- Use the GitHub CLI method for full view preservation
- Manually recreate views in the new project by configuring grouping, sorting, and filters to match the original
Best Practices for Team Projects
After migration, follow these practices to maintain healthy project workflows:
- Use draft issues for unrefined ideas: Draft issues don't clutter your repository's issue tracker until they're ready
- Leverage automation: Set up workflows like "Auto-add new issues to project" to reduce manual work
- Archive old projects: Don't delete—archive completed projects for historical reference
- Document project structure: Add a README in the project description explaining column meanings and workflow stages
- Regular audits: Review access permissions quarterly to remove ex-team members
Conclusion
Migrating GitHub Projects from personal accounts to organizations unlocks team collaboration features essential for growing projects. The GitHub CLI migration method (gh-migrate-project) is the most robust, preserving all data and links. For simple projects, the manual TSV export/import provides a quick alternative.
Key takeaways:
- Organizations enable team-based access control and shared ownership
- Always transfer repositories before migrating their linked projects
- Use the GitHub CLI for projects with 20+ items or complex custom fields
- Set organization base permissions to "None" for maximum access control
- Free-tier organizations get the same CI/CD minutes as personal accounts
By following this guide, you can transition from solo development to team collaboration without losing months of project planning and issue tracking.
Appendix: Key Resources
Footnotes
-
GitHub's plans. (n.d.). GitHub Docs. Retrieved December 22, 2025, from https://docs.github.com/en/get-started/learning-about-github/githubs-plans ↩ ↩2
-
gh-migrate-project - GitHub CLI extension. (n.d.). GitHub. Retrieved December 22, 2025, from https://github.com/github/gh-migrate-project ↩ ↩2 ↩3
-
Managing access to your organization's project boards. (n.d.). GitHub Docs. Retrieved December 22, 2025, from https://docs.github.com/en/organizations/managing-access-to-your-organizations-project-boards ↩