Deleting Remote Branches in Git
After finishing the project, we may need to remove remote branches that are no longer needed. In this case, we can use the push command with the --delete flag, followed by the remote repository name and the branch name:
git push origin --delete test
Delete the branch in your remote repository.