add alias which filters git branches using peco

You can use this alias like

    git checkout B
    git branch -d B