# Checkout x/develop branch
git checkout x/develop
# Create a new branch named Product/x_develop based on the x/develop branch
git checkout -b Product/x_develop
# Push the new branch to the remote repository
git push -u origin Product/x_develop
# Rename the y_develop branch to develop
git branch -m Product/y_develop Product/develop
# Push the renamed branch to the remote repository
git push origin :refs/heads/y_develop
git push -u origin Product/develop
# Rename the service pack branches
git branch -m x.y Product/x_develop.y
git branch -m x.z Product/x_develop.z
# Push the renamed service pack branches to the remote repository
git push -u origin Product/x_develop.y
git push -u origin Product/x_develop.z