First, clone the project locally that you want to duplicate/rename.
You may want to only rename the original repository:
git remote rename origin upstream
Otherwise remove the reference to the original repository:
Add a reference to your own repository:
git remote rm origin
git remote add origin your-project-url
git help remotefor more informations.
Now you just need to push this to
git push origin master --force