How do I clone a foreign repo to work on in github directly?
satya - 6/15/2025, 11:52:28 AM
The 4 options
- Fork + Branch + Pull Request: Fork the original repo, create a branch, and make changes with the intention of submitting a pull request back to the original repository.
- Fork + Branch (No Pull Request): Fork the repo and make changes in a branch, but keep the work for personal or internal use without contributing back.
- Fork + Push to New Repo: Start by forking, then push the fork?s content (with or without history) to a completely separate GitHub repo under your account to make it independent.
- Clone + New Repo: Clone the original repo directly (no fork), optionally remove its Git history, and push it to a brand-new GitHub repo for a clean, standalone project.
satya - 6/15/2025, 12:27:08 PM
For now i choose the clone + new repo
- clone from remote
- remove .git
- init and push to a new repo