Automatically remove "git pull" and parse branch from clipboard

Any comments?