Add a GitHub repository as remote origin (replace [] with your URL):
git remote add origin [[email protected]:...]
Switch to your master branch and copy it to develop branch:
git checkout master
git checkout -b develop
Push your develop branch to the GitHub develop branch (-f
means force):
git push -f origin develop:develop