Deleting a local branch in git The following command can be used to delete a local branch in git $ git branch -d master.my-branch more Git posts Enable caching of Git credentials in memory Check the remote origin URL of a git repository Set the remote origin URL for a git repository Create a new bare Git repository Create a new working Git repository Getting a list of local git branches without using "git branch"