-
Create a new, empty repository on GitHub
-
Clone the created repository
git clone https://github.com/username/repository.git -
Fetch the contents of the original repository
cd repository
git remote add upstream git://url.com/remote_repository.git
git fetch upstream
git merge upstream/master
- Push contents to new repository
git push origin master