You cannot fork your own repository on GitHub. Here is a guide on how to fork your own repository:
1. Clone the repository
git clone https://github.com/[yourname]/template-repo.git new-project
cd new-project 2. Create a new blank repository on GitHub
- Go to https://github.com/new
- Fill in the name of your new repository.
3. Add the new repository as a remote
git remote remove origin
git remote add origin https://github.com/[yourname]/new-project.git 4. Push your changes
git push -u origin main 5. Add the original repository as upstream
git remote add upstream https://github.com/[yourname]/template-repo.git