got to clear remote branch code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: delete local and remote branch github
$ git push <remote_name> :<branch_name>
$ git push origin --delete feature/login
$ git push <remote_name> :<branch_name>