Converts git-kill-branch to a script.