I have a git repo on server, lets name it project.git
I'm in the process of separating part of the project into a separate, independent project and git repo (lets name that subproject.git).
I still want the subproject.git history to include the history in the origin project.git. So what I did to start this separation was to create a branch named subproject on project.git.
Now I want to create another bare repo (subproject.git) on the server, but make the subproject branch the master branch on this repo, and rename the original master branch as something else (i.e.: old-master)
I think I know how to do that on my local copy, but I'm not sure how to create the new bare repo to make it happen on the server.
Any suggestions ?