git remove all pushed branches code example Example: git delete remote name git remote rm remote_name