Deleting Branch in remote and reflect the same in local git update-ref -d refs/notes/origin/commits Removing the initial commit from git git update-ref -d HEAD Adding sublime as git config editor git config --global core.editor "subl -n -w"