1) create new EMPTY repo on github or bitbucket, etc. example:new repo named sass-button-library
2) change into your projects folder and clone the repo you want to use example git clone https://github.com/Jighead/gulp-es6-base.git sass-button-library
3) change into new project folder in this example sass-button-library
4) now change the remote URL example: git remote set-url origin https://github.com/Jighead/sass-button-library.git
5) 5) now push the code to the new remote repo. examle: git push origin master (depending on your setup on github/bitbucket you may need to enter your username and password)
6) verify changes were pushed to new repo on github or butbucket.