If you're wrangling multiple Git repositorites, you'll eventually want to move files from one to another. This tutorial will show you how you can move a full Git repository from one remote server to another. The steps below even allow you to choose which branches and tags to include.
Let’s call the original repository ORI and the new one NEW, here are the steps required to copy everything from ORI to NEW:
1. Create a local repository in the temp-dir directory using:
git clone <url to ORI repo> temp-dir
2. Go into the temp-dir directory.
3. To see a list of the different branches in ORI do: