git cmd to delete all code example Example: git branch delete all local branches // hard delete git branch -D $(git branch)