To delete a local branch git branch -d the_local_branch To remove a remote branch git push origin :the_remote_branch